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

Comparing deliantra/server/ext/map-tags.ext (file contents):
Revision 1.21 by root, Tue Mar 16 20:37:54 2010 UTC vs.
Revision 1.22 by root, Sun Apr 11 04:52:07 2010 UTC

84} 84}
85 85
86sub reload { 86sub reload {
87 my $guard = cf::lock_acquire "map-tags::reload"; 87 my $guard = cf::lock_acquire "map-tags::reload";
88 88
89 my $start = EV::time; 89 my $start = AE::time;
90 90
91 # 1. check for maps no longer existing 91 # 1. check for maps no longer existing
92 { 92 {
93 my @delkeys; 93 my @delkeys;
94 94
149# delete $map->{deny_reset}; 149# delete $map->{deny_reset};
150# } 150# }
151# } 151# }
152# } 152# }
153 153
154 warn sprintf "map-tag scan (%fs)", EV::time - $start; 154 warn sprintf "map-tag scan (%fs)", AE::time - $start;
155} 155}
156 156
157our $RELOAD_SCHEDULER = cf::periodic $SCHEDULE_INTERVAL, Coro::unblock_sub { 157our $RELOAD_SCHEDULER = cf::periodic $SCHEDULE_INTERVAL, Coro::unblock_sub {
158 $Coro::current->prio (Coro::PRIO_MIN); 158 $Coro::current->prio (Coro::PRIO_MIN);
159 $Coro::current->desc ("map-tag scanner"); 159 $Coro::current->desc ("map-tag scanner");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines