A couple things: 1. the Job class is pretty bad -- I've never been sure of the correct way of doing it, so any feedback is very welcome!
2. You are absolutely correct, there is no good way to set ttr on a Job object! I have now changed this, and pushed that change to github. you can now pass ttr as a keyword value to Job(...), and of course change the job.ttr attribute. Job.Queue will pass that to put(). Regards, Erich On Dec 2, 3:49 pm, Saikat Chakrabarti <[email protected]> wrote: > I'm not sure if this is the correct place to ask this, but I can't > really figure out how to specify the TTR for a job in pybeanstalk. I > see that it gets set to a default of 60, which I would like to > increase. It seems like there is no option to set the ttr, and it > just gets called with the default in job.Queue(). Is the only way to > change this to just subclass Job so that I can set a custom TTR in > Queue? > > Thanks, > Saikat -- You received this message because you are subscribed to the Google Groups "beanstalk-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/beanstalk-talk?hl=en.
