Auto-update: Fri Aug 2 00:50:57 PDT 2024
This commit is contained in:
parent
0ddc70164e
commit
c5c426913e
1 changed files with 3 additions and 2 deletions
|
@ -184,7 +184,8 @@ def load_router(router_name):
|
|||
def main(argv):
|
||||
config = HypercornConfig()
|
||||
config.bind = [API.BIND]
|
||||
config.startup_timeout = 3600 # 1 hour
|
||||
config.startup_timeout = 300 # 5 minutes
|
||||
config.shutdown_timeout = 15 # 15 seconds
|
||||
asyncio.run(serve(app, config))
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in a new issue