make the process faster by reducing delay times

This commit is contained in:
Seth Schoen 2012-07-15 16:37:39 -07:00
parent f07275a99d
commit acd5a77fc3
2 changed files with 2 additions and 2 deletions

View file

@ -277,7 +277,7 @@ class session(object):
# If we're in makechallenge or issue, tell the client to come back later.
if state == "makechallenge" or state == "issue":
r.proceed.timestamp = int(time.time())
r.proceed.polldelay = 10
r.proceed.polldelay = 4
return
# If we're in testchallenge, tell the client about the challenges and their
# current status.

View file

@ -271,5 +271,5 @@ while True:
# in "issue" state expire.
issue(session)
session = None
else: time.sleep(2)
else: time.sleep(1)
# This daemon doesn't currently act on pending-done sessions.