My application Rails 4.2.2 (Ruby 2.2.2) on Heroku is timing out after upgrading. I'm using Rack::Timeout to kill requests after 10s and it hits it every time.
Here's what I'm seeing in the logs:
2015-08-17T19:29:51.612196+00:00 app[web.1]: Rendered a_template.html.slim (20.3ms)
2015-08-17T19:29:52.063606+00:00 app[web.1]: source=rack-timeout id=fbd02348-8cb0-4ac9-84af-c04d428c1a9c wait=306ms timeout=10000ms service=2062ms state=active
2015-08-17T19:29:53.004007+00:00 app[web.1]: source=rack-timeout id=fbd02348-8cb0-4ac9-84af-c04d428c1a9c wait=306ms timeout=10000ms service=3003ms state=active
2015-08-17T19:29:54.007696+00:00 app[web.1]: source=rack-timeout id=fbd02348-8cb0-4ac9-84af-c04d428c1a9c wait=306ms timeout=10000ms service=4006ms state=active
2015-08-17T19:29:55.004989+00:00 app[web.1]: source=rack-timeout id=fbd02348-8cb0-4ac9-84af-c04d428c1a9c wait=306ms timeout=10000ms service=5004ms state=active
2015-08-17T19:29:56.024033+00:00 app[web.1]: source=rack-timeout id=fbd02348-8cb0-4ac9-84af-c04d428c1a9c wait=306ms timeout=10000ms service=6023ms state=active
2015-08-17T19:29:57.005402+00:00 app[web.1]: source=rack-timeout id=fbd02348-8cb0-4ac9-84af-c04d428c1a9c wait=306ms timeout=10000ms service=7004ms state=active
2015-08-17T19:29:58.003664+00:00 app[web.1]: source=rack-timeout id=fbd02348-8cb0-4ac9-84af-c04d428c1a9c wait=306ms timeout=10000ms service=8002ms state=active
2015-08-17T19:29:59.001756+00:00 app[web.1]: source=rack-timeout id=fbd02348-8cb0-4ac9-84af-c04d428c1a9c wait=306ms timeout=10000ms service=9000ms state=active
2015-08-17T19:30:00.004667+00:00 app[web.1]: source=rack-timeout id=fbd02348-8cb0-4ac9-84af-c04d428c1a9c wait=306ms timeout=10000ms service=10003ms state=timed_out
When I rollback to 1.0 it goes away and I no longer timeout. I tried setting the transformer to the JSXTransformer to eliminate Babel as a possibility and I still see the same issue so it looks like it's something else.
Any idea what could be causing this?
My application Rails 4.2.2 (Ruby 2.2.2) on Heroku is timing out after upgrading. I'm using
Rack::Timeoutto kill requests after 10s and it hits it every time.Here's what I'm seeing in the logs:
When I rollback to 1.0 it goes away and I no longer timeout. I tried setting the transformer to the
JSXTransformerto eliminateBabelas a possibility and I still see the same issue so it looks like it's something else.Any idea what could be causing this?