Anvil app server - modify 30 second timeout

Looking through the source, it looks like it pulls the timeout value from an environment variable with a 30 second default:

TIMEOUT = int(os.environ.get("DOWNLINK_WORKER_TIMEOUT", "30"))

So yes, set that environment variable to something else and it should adjust the timeout. You’ll probably need to restart the server for it to take effect.

4 Likes