kylewm / redwind

Flask-based personal website #IndieWeb #OwnYourData
Other
45 stars 5 forks source link

Jobs remain in queue #34

Closed thedod closed 9 years ago

thedod commented 9 years ago

Just pulled the new queue, and maybe I did something wrong, but the jobs don't get executed. Took time to notice, but I got about 50 of them with a False complete.

kylewm commented 9 years ago

Is qworker.py definitely running?

I also had a problem when the Job model object wasn't being updated with complete=True, so I fetched a new copy before modifying it https://github.com/kylewm/redwind/blob/master/redwind/queue.py#L37. In this case, the jobs were running but never marked as finished, so they ran over and over and over again...

thedod commented 9 years ago

Is qworker.py definitely running?

Am I supposed to run it? dOh. I'll remove all stuff from queue, run it, and see how it goes. Brb.

thedod commented 9 years ago

Seems to work now that I ran qworker manually. Is that what I'm supposed to do?

thedod commented 9 years ago

Ah! :confounded: