From: David B. <dav...@gm...> - 2010-05-18 08:49:12
|
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 |