Skip Menu |

This queue is for tickets about the POE-Component-JobQueue CPAN distribution.

Report information
The Basics
Id: 4528
Status: resolved
Priority: 0/
Queue: POE-Component-JobQueue

People
Owner: Nobody in particular
Requestors: neyuki [...] bsx.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Attachments


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.

Download active1.plx
application/octet-stream 639b

Message body not shown because it is not plain text.

Thank you. I have applied your patch, and the fix will appear in the next release. -- Rocco Caputo - rcaputo@pobox.com - http://poe.perl.org/