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

Comparing deliantra/server/ext/map-random.ext (file contents):
Revision 1.17 by root, Mon Jun 11 21:38:13 2007 UTC vs.
Revision 1.18 by root, Wed Nov 14 08:09:46 2007 UTC

74 } 74 }
75 } 75 }
76} 76}
77 77
78# clean up old temp maps regularly 78# clean up old temp maps regularly
79Event->timer ( 79our $CLEAN_RANDOM_MAPS = cf::periodic 3600, Coro::unblock_sub {
80 reentrant => 0, 80 clean_random_maps;
81 data => cf::WF_AUTOCANCEL, 81};
82 interval => 3600,
83 after => 60,
84 cb => Coro::unblock_sub { clean_random_maps },
85);
86 82
87# map generator stresstest, never enable under normal circumstances 83# map generator stresstest, never enable under normal circumstances
88if (0) { 84if (0) {
89 cf::async { 85 cf::async {
90 my $seed = 0; 86 my $seed = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines