mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
Sleeping is easier than polling
This commit is contained in:
@@ -8,6 +8,7 @@ import re
|
|||||||
import shutil
|
import shutil
|
||||||
import socket
|
import socket
|
||||||
import subprocess
|
import subprocess
|
||||||
|
import time
|
||||||
|
|
||||||
import zope.interface
|
import zope.interface
|
||||||
|
|
||||||
@@ -1163,6 +1164,10 @@ class ApacheConfigurator(augeas_configurator.AugeasConfigurator):
|
|||||||
# types
|
# types
|
||||||
self.restart()
|
self.restart()
|
||||||
|
|
||||||
|
# TODO: Remove this dirty hack. We need to determine a reliable way
|
||||||
|
# of identifying when the new configuration is being used.
|
||||||
|
time.sleep(3)
|
||||||
|
|
||||||
# Go through all of the challenges and assign them to the proper
|
# Go through all of the challenges and assign them to the proper
|
||||||
# place in the responses return value. All responses must be in the
|
# place in the responses return value. All responses must be in the
|
||||||
# same order as the original challenges.
|
# same order as the original challenges.
|
||||||
|
|||||||
Reference in New Issue
Block a user