Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: James Higginbotham
RE: Rails app starts polling once a job creat [ reply ]  
2008-10-31 21:24
To clarify, the reason I see the polling is that I'm starting the Rails app from the console. I see the SQL queries that are polling MySql for tasks within the production.log of the Rails process.

By: James Higginbotham
Rails app starts polling once a job created [ reply ]  
2008-10-31 18:59
Adam, et. al:

Thanks so much for your work on Skynet - it has helped 2 of my projects in the last year alone!

I am experiencing a problem when launching an async job within Rails, though:

I noticed with the latest Skynet gem (0.9.3) that once I push an async job into the Skynet queue, that the Rails app begins to poll a lot. Is it that Skynet is becoming a worker, or is there some thread monitoring the status of the async job?

All I'm trying to do is fire and forget from an action in my Rails controller, so I never ask the job to return the results. The queries being issued make me think it is becoming an actual worker, since it isn't polling for a specific job id. I have been unable to confirm that this is the case, however.

Any thoughts?