From 8a2a7926ccdbe16a35a62d8d7f3773182488c370 Mon Sep 17 00:00:00 2001 From: tech234a <46801700+tech234a@users.noreply.github.com> Date: Fri, 25 Sep 2020 16:57:15 -0400 Subject: [PATCH] Wait a few seconds --- http3.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/http3.py b/http3.py index 6428a24..4a257b9 100644 --- a/http3.py +++ b/http3.py @@ -1,5 +1,6 @@ from os import system from os.path import isfile +from time import sleep HEROKU = False if isfile("../Procfile") and isfile("../requirements.txt"): print("Heroku detected... using 20 threads instead of 50.") @@ -10,6 +11,8 @@ if HEROKU: print("Installing aioquic on this Heroku instance since it wasn't installed on deploy...") system("python3 -m pip install --user aioquic") +sleep(5) + import asyncio from typing import cast from urllib.parse import urlparse