Skip to content

Commit

Permalink
bugfix: access logs are not sorted by time
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Büchele committed Mar 5, 2015
1 parent c883f5e commit 5ac6e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/replayer
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ def main():
else:
current_date = int(parse_datetime(data['%t']).strftime('%s'))
wait_time = current_date - last_date
last_date = current_date
if wait_time > 0:
last_date = current_date
time.sleep(wait_time)

url_queue.put(data, True, 2)
Expand Down

0 comments on commit 5ac6e8c

Please sign in to comment.