Changed wait default to 25 mins.

This commit is contained in:
Erik C. Thauvin 2020-05-27 17:44:29 -07:00
parent 2f5be01ec9
commit 03f68df7ec
4 changed files with 3 additions and 4 deletions

View file

@ -7,7 +7,7 @@
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/venv" /> <excludeFolder url="file://$MODULE_DIR$/venv" />
</content> </content>
<orderEntry type="jdk" jdkName="Python 3.8" jdkType="Python SDK" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
</module> </module>

View file

@ -43,4 +43,4 @@ certbot certonly --manual --email you@example.com \
-d *.example.com -d example.com -d *.example.com -d example.com
</pre> </pre>
Please note that NameSilo DNS propagation takes up to **15 minutes**. The scripts will wait **20 minutes** before completing, just to be safe. Please note that NameSilo DNS propagation takes up to **15 minutes**. The scripts will wait **25 minutes** before completing, just to be safe.

View file

@ -46,7 +46,6 @@ from config import apikey, wait
def sleep(minutes): def sleep(minutes):
if minutes < 16: if minutes < 16:
minutes = 16 minutes = 16
print("Waiting", minutes, "minutes for DNS changes to complete...")
time.sleep(minutes * 60) time.sleep(minutes * 60)

View file

@ -1,4 +1,4 @@
# Get your API Key from: https://www.namesilo.com/account_api.php # Get your API Key from: https://www.namesilo.com/account_api.php
apikey = "YOUR_API_KEY" apikey = "YOUR_API_KEY"
# Minutes to wait for DNS changes to complete. # Minutes to wait for DNS changes to complete.
wait = 20 wait = 25