Date: | Sun, 30 Nov 2003 01:15:02 +0300 |
From: | neyuki <neyuki [...] bsx.ru> |
To: | bug-POE-Component-JobQueue [...] rt.cpan.org |
Subject: | Two mistypes and one possible fix. |
Two mistypes is: $ack_alias where $ack_state needed, and
polling_interval where poll_interval is assumed (see patch).
Now, what if one does'nt set PollInterval for active kind of worker,
and worker return without any new session spawned. This will signalize
what there is no more calls to worker needed.
Ending of worker session will initiate worker again, for every session
what is still there:
Session end -> poco_jobqueue_both_child -> poco_jobqueue_active_dequeue
-> Worker.
At least, check code example with current PoCo::JobQueue version.
Patch + code is attached.
--
neyuki
Message body is not shown because sender requested not to inline it.
Message body not shown because it is not plain text.