mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
make the process faster by reducing delay times
This commit is contained in:
parent
f07275a99d
commit
acd5a77fc3
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue