You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been testing and using Turbo 8 with morphing. I noticed that when there are a lot of updates for the active record model in a short amount of time, then sometimes the page gets a few page refreshes per second via Turbo Streams. This causes the browser to cancel the previous http request and start a new one. This shows up as a 499 http status code in Heroku logs (H27 - Client Request Interrupted).
I already suppressed broadcasting model updates on the Rails app backend by removing touch: true on associated models. But for high traffic applications, when the active record model is often updated by parallel requests, then regular suppression logic does not help #499
Is there a way to suppress page refresh logic on the front end? For example, tell Turbo to refresh the page at most once every 2 seconds.
Any recommendation on what could be done to suppress page refreshes? Thank you.
The text was updated successfully, but these errors were encountered:
I've been testing and using Turbo 8 with morphing. I noticed that when there are a lot of updates for the active record model in a short amount of time, then sometimes the page gets a few page refreshes per second via Turbo Streams. This causes the browser to cancel the previous http request and start a new one. This shows up as a 499 http status code in Heroku logs (H27 - Client Request Interrupted).
I already suppressed broadcasting model updates on the Rails app backend by removing
touch: true
on associated models. But for high traffic applications, when the active record model is often updated by parallel requests, then regular suppression logic does not help #499Is there a way to suppress page refresh logic on the front end? For example, tell Turbo to refresh the page at most once every 2 seconds.
Any recommendation on what could be done to suppress page refreshes? Thank you.
The text was updated successfully, but these errors were encountered: