Send an X-Accel-Buffering in /events to disable nginx buffering #86

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@byroot

Without that widgets take a lot of time to load if you're deployed behind nginx.

See: http://wiki.nginx.org/X-accel#X-Accel-Buffering

Maybe it can be pushed in Sinatra itself inside the stream method.

@pushmatrix
Shopify member

Oooooo weee. It does take a pretty long time. Thanks for the PR! I just merged it in.

@pushmatrix pushmatrix closed this Apr 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment