Closed imjoshholloway closed 9 years ago
A bit more information:
If I start the intercom.srv.js
process after the errors are logged the jobs in the queue are processed but not removed from the queue.
If I understand correctly the question is, Is there a fire and forget mechanism in Seneca ?
Not from what I know, but @rjrodger or @mcdonnelldean should be able to give a better answer.
Fire and forget is support. I'm tight on time right now but I will see can I get @geek to look over your issue. I'd say more likely something silly is causing the timeout.
@imjoshholloway you can increase the timeout to a large number (https://github.com/rjrodger/seneca/blob/master/seneca.js#L62).
This is a few months old now, are you still experiencing the issue?
@geek , wouldn't that lead to a kind of memory leak ?
@geek I'm no longer using seneca (well node) so no I'm not experiencing this anymore.
@imjoshholloway Sorry to hear that but good look in whatever you are doing now :D
Continuation of this Twitter conversation. Basically, I have a service that will process records from beanstalk:
services/intercom.srv.js:
lib/intercom.js:
The queue is populated by the following file which is a separate process running every minute or so:
app.js:
After a short period of time the following error is output in the logs of the
app.js
process:I basically need the
app.js
process to simply add the jobs to the queue and forget about them. - Is this possible?