Skip to content

Commit

Permalink
Ops, last_time should be update on each iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
chromano committed Oct 16, 2010
1 parent 494707d commit e05476b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apache-log-replay.py
Expand Up @@ -28,6 +28,7 @@ def main(host, filename):
if time_delta.seconds > 10:
print "(next request in %d seconds)" % time_delta.seconds
time.sleep(time_delta.seconds)
last_time = request_time
url = host + path
try:
req_result = "OK"
Expand Down

0 comments on commit e05476b

Please sign in to comment.