It just occurred to me, after having used it for a long time, that the
name "add_timeout" is misleading.

2010/5/18 budi prakosa <[email protected]>:
>         add_timeout(10.,{ submit_lastfm(m);(-1.) })

This does not trigger submit_lastfm with a timeout of 10 seconds, but
triggers the function after a 10 seconds delay. I'm not sure that it
is what you meant. Also, since your function takes a long time to
compute, you should pass fast=false, so it is scheduled in the "slow
queue" and does not block all the fast requests that liquidsoap needs
highly (like, server management).

Cheers,
-- 
David

------------------------------------------------------------------------------

_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to