Skip to content

Instantly share code, notes, and snippets.

@pcolazurdo
Created August 6, 2017 09:47
Show Gist options
  • Save pcolazurdo/f02102e54206bf32e7e5ab33db7df51e to your computer and use it in GitHub Desktop.
Save pcolazurdo/f02102e54206bf32e7e5ab33db7df51e to your computer and use it in GitHub Desktop.

If you have problems when downloading large results sets from reDash it may be you are running against the default 30 seconds timeout in gunicorn. To solve this you can edit your:

/opt/redash/supervisord/supervisord.conf

and change:

[program:redash_server]
command=/opt/redash/current/bin/run gunicorn -b 127.0.0.1:5000 --name redash -w 4 redash.wsgi:app

to

command=/opt/redash/current/bin/run gunicorn -b 127.0.0.1:5000 --name redash -t 300 -w 4 redash.wsgi:app

Hope it helps, Pablo

@isabella0428
Copy link

Currently, here is a environment variable REDASH_GUNICORN_TIMEOUT: 300 in docker-compose.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment