#48: High CPU usage on broken playlist
-------------------------+--------------------------------------------------
Reporter: toots | Owner: toots
Type: Bugs | Status: closed
Priority: 8 | Milestone:
Component: Liquidsoap | Version: 0.3.5+svn
Resolution: fixed | Keywords:
-------------------------+--------------------------------------------------
Changes (by metamorph68):
* status: assigned => closed
* resolution: => fixed
Comment:
(In [5050]) Switched liquidsoap to duppy.
Some other changes where done too:
* Rewritten add_timeout operator to work with the scheduler
-> New behaviour can be discussed:
the function should not return the new delay,
but is it possible to register its own function ?
i.e. let rec f = (..) add_timeout(1.,f)
* Rewritten harbor, better exception handling.
Can be done even better I think
* Fixed CPU usage on empty playlist:
added delayed tasks when failure happen.
To be checked, but basic testings were ok.
* Implemented thread-safe multiple lastfm submitions
Added configuration parameter "event_queues" to set
the number of asynchronous queues to run.
Also, different priorities are all registered in tutils.ml.
Values can be discussed, or added as configuration parameters...
closes #47, #48
--
Ticket URL: <http://savonet.rastageeks.org/ticket/48#comment:4>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !