Repository navigation
More limits (Plan B) - #1629
Merged
Merged
More limits (Plan B)#1629
Conversation
* Limit a few more things to possibly curtail some 431's * Ease up on MongoDB having issues with script querying and CPU load. Limit to first copied block of characters in `about`. This amount may get smaller and is currently in flux. * Create new clipped searchable fields. I spent a lot of time to see if MongoDB/*mongoose* had a limiter on their indexer and couldn't find one so we get to do it manually. NOTE: * This will temporarily remove everyone's Summary but it will be manually migrated in the DB in a while. If you are impatient... edit your script *(no changes necessary)* and resave it... that will do the migration also. Post OpenUserJS#1628 and applies to OpenUserJS#1548
Martii
added a commit
to Martii/OpenUserJS.org
that referenced
this pull request
Jun 29, 2019
* Some new deps * This removes the HTML and MD from the `about` and stores in the limited `_about`. * Still currently testing 1KiB term max *(combined)* * Change default typing on `_description` to empty string. NOTES: * This could also be achieved with *marked* and *sanitize-html* however giving this a whirl for source isolation. Post OpenUserJS#1629 and applies to OpenUserJS#1548
Martii
added a commit
that referenced
this pull request
Jun 29, 2019
* Some new deps * This removes the HTML and MD from the `about` and stores in the limited `_about`. * Still currently testing 1KiB term max *(combined)* * Change default typing on `_description` to empty string. NOTES: * This could also be achieved with *marked* and *sanitize-html* however giving this a whirl for source isolation. Post #1629 and applies to #1548 Auto-merge
Martii
added a commit
to Martii/OpenUserJS.org
that referenced
this pull request
Jun 30, 2019
* Put in env var check for limiting problem query Post OpenUserJS#1629 and applies to OpenUserJS#1548
Merged
Martii
added a commit
that referenced
this pull request
Jun 30, 2019
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.
about. This amount may get smaller and is currently in flux.NOTE:
Post #1628 and applies to #1548