Skip to content

Commit

Permalink
fix wrong cache_key
Browse files Browse the repository at this point in the history
  • Loading branch information
binux committed Oct 31, 2014
1 parent 1f85054 commit 48869bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scheduler/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def _check_request(self):
if not task.get('schedule', {}).get('force_update', False):
logger.debug('ignore newtask %(project)s:%(taskid)s %(url)s', task)
continue
cache_key = "%(project)s:%(project)s" % task
cache_key = "%(project)s:%(taskid)s" % task
if cache_key in processed_task_cache:
logger.debug('processed newtask %(project)s:%(taskid)s %(url)s', task)
continue
Expand Down

0 comments on commit 48869bd

Please sign in to comment.