ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/map-scheduler.ext
(Generate patch)

Comparing deliantra/server/ext/map-scheduler.ext (file contents):
Revision 1.32 by root, Mon Apr 16 06:23:41 2007 UTC vs.
Revision 1.33 by root, Wed Apr 18 17:32:06 2007 UTC

15 # load the header of swapped-out maps. 15 # load the header of swapped-out maps.
16 # this is not a correctness issue, it simply saves diskspace 16 # this is not a correctness issue, it simply saves diskspace
17 # because old files will get cleaned up on reset time 17 # because old files will get cleaned up on reset time
18 Coro::Timer::sleep 1; 18 Coro::Timer::sleep 1;
19 19
20 my $files = Coro::AIO::aio_readdir cf::localdir . "/" . cf::tmpdir; 20 my $files = Coro::AIO::aio_readdir $cf::TMPDIR;
21 21
22 for my $map (@$files) { 22 for my $map (@$files) {
23 utf8::decode $map; 23 utf8::decode $map;
24 next if $map =~ /\.(?:pst|meta)$/; 24 next if $map =~ /\.(?:pst|meta)$/;
25 cf::map::find $map; 25 cf::map::find $map;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines