mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-11 03:13:46 +00:00
Under normal load on the shared host, a /wheelofnames GIF takes 11-12s and a /gacha wish 14-15s to render, so the 15s default turned ordinary renders into 504s. The default is now 30s, and the bot waits 45s so it never abandons a render the renderer is still allowed to finish.
9 lines
258 B
Bash
9 lines
258 B
Bash
RENDERER_PORT=3000
|
|
RENDERER_HOST=0.0.0.0
|
|
NODE_ENV=production
|
|
RENDERER_MAX_CONCURRENT_RENDERS=1
|
|
# Remotion browser timeout floor is 7000ms; lower values are raised to 7000.
|
|
RENDERER_RENDER_TIMEOUT_MS=30000
|
|
RENDERER_MAX_OPTIONS=32
|
|
RENDERER_MAX_OPTION_CHARS=40
|