Skip to content

Commit

Permalink
Merge pull request celery#2575 from wiliamsouza/master
Browse files Browse the repository at this point in the history
Changed _apply_chord_incr to use int value
  • Loading branch information
PMickael committed Apr 16, 2015
2 parents 0cfacb7 + c8ffcc4 commit d7befd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celery/backends/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def delete(self, key):
return self.client.delete(key)

def _apply_chord_incr(self, header, partial_args, group_id, body, **opts):
self.client.set(self.get_key_for_chord(group_id), '0', time=86400)
self.client.set(self.get_key_for_chord(group_id), 0, time=86400)
return super(CacheBackend, self)._apply_chord_incr(
header, partial_args, group_id, body, **opts
)
Expand Down

0 comments on commit d7befd8

Please sign in to comment.