… | |
… | |
20 | |
20 | |
21 | our %MUSIC_QUEUE; |
21 | our %MUSIC_QUEUE; |
22 | our %MUSIC_FACE_CACHE; # cleared by reload_facedata |
22 | our %MUSIC_FACE_CACHE; # cleared by reload_facedata |
23 | |
23 | |
24 | our $MUSIC_SCHEDULER = cf::async_ext { |
24 | our $MUSIC_SCHEDULER = cf::async_ext { |
|
|
25 | $Coro::current->{desc} = "music scheduler"; |
|
|
26 | |
25 | while () { |
27 | while () { |
26 | for (keys %MUSIC_QUEUE) { |
28 | for (keys %MUSIC_QUEUE) { |
27 | delete $MUSIC_QUEUE{$_}; |
29 | delete $MUSIC_QUEUE{$_}; |
28 | |
30 | |
29 | cf::get_slot 0.01, -10, "music scheduler"; |
31 | cf::get_slot 0.01, -10, "music scheduler"; |