Hi all !

As you may have noticed, we have an annoying issue in the playlist operator.

Under certain conditions, the scheduler might "miss" a remaining task, leading 
a playlist source, and probably other request-driven source, to not update 
their queue, leading to the end of the source.

As users have noticed, the issue goes away as soon as anything else happen, 
since it wakes the scheduler up again, so the missed task can be processed...

The fix for this issue should be released very soon with 0.3.8, but it is not 
yet confirmed that it is indeed fixed... The problem being that it is not a 
deterministic issue, hence very hard to track down.

Until then, there is an applicable workaround if you need some of the features 
in 0.3.7 and are using playlists. You may register a regular empty task, that 
will wake up the scheduler regulary, hence avoiding it to go to sleep.

The code can be:

def regular_wake_up () = 
  # Do nothing, but tells the scheduler to restart
  # this task in 0.2 seconds
  0.2
end

add_timeout(0.2,regular_wake_up)


Romain

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to