Address the app generated 503s#352
Merged
Merged
Conversation
* Use proper usage of `maxLag` for process bump. * Add in simple referer check mentioned in OpenUserJS#343 to prevent SEO/abuse. * Remove separator from `./routesStatic.js` and let `join` do it's op. Closes OpenUserJS#345 **NOTE**: Server cloud services may already handle load balancing but keeping this in for the time being... if it crops up again, bump to a maximum of 175ms. toobusy-js does use timers that are never stopped even at the equivalient of `document-idle` event state. If this package proves long term to be an issue remove it completely... however during testing period it **PASSED**.
Martii
added a commit
that referenced
this pull request
Sep 30, 2014
Address the app generated 503s Auto-merge
Martii
pushed a commit
to Martii/OpenUserJS.org
that referenced
this pull request
Apr 6, 2016
* Reinstate *toobusy-js*... at least one of their timers has been fixed on shutdown. See OpenUserJS#354, OpenUserJS#353, OpenUserJS#352 and base issue of OpenUserJS#345 ... loosely related to OpenUserJS#249 and attempt to address OpenUserJS#944 with a work-around... VPS should be faster than our old one so perhaps the timers don't make as much of a difference. Start with our old default lag value... this may introduce too many 503's again but hopefully not * Retested delete op * Bug fixes, tests, and docs updates... please read their CHANGELOGS * Shutdown the server on SIGINT * Modify db closure to not have dependents
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
maxLagfor process bump../routesStatic.jsand letjoindo it's op.Closes #345
NOTE: Server cloud services may already handle load balancing but keeping this in for the time being... if it crops up again, bump to a maximum of 175ms. toobusy-js does use timers that are never stopped even at the equivalent of
document-idleevent state. If this package proves long term to be an issue remove it completely... however during testing period it PASSED.