We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1f8f87 commit 8e2003aCopy full SHA for 8e2003a
1 file changed
api/server.py
@@ -18,6 +18,7 @@
18
# Create the http server app
19
server = Sanic("my_app")
20
server.config.CORS_ORIGINS = os.getenv("CORS_ORIGINS") or "*"
21
+server.config.RESPONSE_TIMEOUT = 60 * 60 # 1 hour (training can be long)
22
Extend(server)
23
24
0 commit comments