Parcourir la source

修改 dockerfile

YeClimEric il y a 7 ans
Parent
commit
5de6b7d379
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      Schedule/ProxyRefreshSchedule.py

+ 3 - 0
Schedule/ProxyRefreshSchedule.py

@@ -102,6 +102,9 @@ def run():
     sch.start()
     fetch_all()
 
+    while True:
+        time.sleep(1)
+
 
 if __name__ == '__main__':
     run()