Skip to content

Commit

Permalink
Merge pull request #101 from guewen/8.0-runjobcontroller-result
Browse files Browse the repository at this point in the history
Do not pass self as 'message' of set_pending()
  • Loading branch information
nhomar committed Jul 24, 2015
2 parents af49c93 + 2af3440 commit c6e5a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connector/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def runjob(self, db, job_uuid, **kw):
def retry_postpone(job, message, seconds=None):
with session_hdl.session() as session:
job.postpone(result=message, seconds=seconds)
job.set_pending(self, reset_retry=False)
job.set_pending(reset_retry=False)
self.job_storage_class(session).store(job)

with session_hdl.session() as session:
Expand Down

0 comments on commit c6e5a9d

Please sign in to comment.