From: budi p. <iy...@de...> - 2010-05-18 09:02:12
|
On Tue, May 18, 2010 at 4:01 PM, budi prakosa <iy...@de...> wrote: > hi thanks its worked! liquidsoap is a brilliant software! > im using it for my radio (open community based radio in indonesia) > thanks > > > On Tue, May 18, 2010 at 3:49 PM, David Baelde <dav...@gm...>wrote: > >> 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 <iy...@de...>: >> > 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 >> > > |