Skip to content

Commit

Permalink
Python 2.6 fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Dec 16, 2013
1 parent 8414a67 commit d0fa35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rq/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def heartbeat(self, timeout=0):
timeout = max(timeout, self.default_worker_ttl)
self.connection.expire(self.key, timeout)
self.log.debug('Sent heartbeat to prevent worker timeout. '
'Next one should arrive within {} seconds.'.format(timeout))
'Next one should arrive within {0} seconds.'.format(timeout))

def fork_and_perform_job(self, job):
"""Spawns a work horse to perform the actual work and passes it a job.
Expand Down

0 comments on commit d0fa35d

Please sign in to comment.