소스 검색

Wait a few seconds

http3
tech234a 3 년 전
부모
커밋
8a2a7926cc
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      http3.py

+ 3
- 0
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


불러오는 중...
취소
저장