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

Comparing deliantra/server/ext/schmorplog.ext (file contents):
Revision 1.32 by root, Sat Feb 4 00:41:42 2012 UTC vs.
Revision 1.33 by root, Sat Feb 4 00:43:39 2012 UTC

256 } 256 }
257} 257}
258 258
259sub _update { 259sub _update {
260 cf::async_ext { 260 cf::async_ext {
261 my $t0 = EV::now;
262
263 $Coro::current->nice (1); 261 $Coro::current->nice (1);
264 $Coro::current->{desc} = "recentlog updater"; 262 $Coro::current->{desc} = "recentlog updater";
265 263
266 Coro::AnyEvent::sleep 5; # grace time to allow file-saves 264 Coro::AnyEvent::sleep 5; # grace time to allow file-saves
267 265
268 my $lock = cf::lock_acquire "export_recentlog"; 266 my $lock = cf::lock_acquire "export_recentlog";
267
268 my $t0 = EV::now;
269 269
270 while (%need_update) { 270 while (%need_update) {
271 for (keys %need_update) { 271 for (keys %need_update) {
272 delete $need_update{$_}; 272 delete $need_update{$_};
273 273

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines