--- deliantra/server/ext/map-scheduler.ext 2007/09/19 21:56:30 1.42 +++ deliantra/server/ext/map-scheduler.ext 2007/10/01 00:55:51 1.44 @@ -12,7 +12,7 @@ our $SWAP_LOAD2 = $cf::CFG{swap_load2} || .4; # swap as fast as possible at this load cf::async_ext { - $Coro::current->{desc} = "initial map scanner"; + $Coro::current->{desc} = "startup map scanner"; $Coro::current->prio (Coro::PRIO_MIN); # load the header of swapped-out maps. @@ -54,7 +54,8 @@ our $SCHEDULER = cf::async_ext { $Coro::current->{desc} = "map scheduler"; - my $timer = Coro::Event->timer (after => 1); + $Coro::current->prio (Coro::PRIO_MAX); + my $timer = Coro::Event->timer (after => 1, data => cf::WF_AUTOCANCEL); while () { $timer->interval ($SCHEDULE_INTERVAL);