Conversation
|
This pull request introduces 1 alert and fixes 1 when merging dd8f7b3 into 5443be7 - view on LGTM.com new alerts:
fixed alerts:
|
sampaiodiego
requested changes
Sep 22, 2021
sampaiodiego
requested changes
Sep 23, 2021
Member
sampaiodiego
left a comment
There was a problem hiding this comment.
not sure what exactly is broken, but the process don't start up anymore.
sampaiodiego
requested changes
Sep 23, 2021
a777524 to
0896860
Compare
…ket.Chat into chore/startup-performance
…ket.Chat into chore/startup-performance
…e/startup-performance
…ket.Chat into chore/startup-performance
…ket.Chat into chore/startup-performance
…ket.Chat into chore/startup-performance
sampaiodiego
requested changes
Oct 18, 2021
Member
sampaiodiego
left a comment
There was a problem hiding this comment.
tsis not being set- there is change on the previous behavior I'm not sure is good or bad.. Previously we couldn't change setting's value by only changing it on
settings.add, but we could change everything else (like if a setting is public or not), but with the new implementation this is not possible anymore. looks like once the setting is saved on DB, it doesn't apply anything we change onsettingsRegister.add - there a few errors during startup I think we should get rid of before merging, like:
Invalid setting code SMS_Mobex_from_number: Setting SMS_Mobex_from_number is of type int but got string
…ket.Chat into chore/startup-performance
…ket.Chat into chore/startup-performance
…ket.Chat into chore/startup-performance
sampaiodiego
approved these changes
Oct 19, 2021
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Proposed changes (including videos or screenshots)
The settings logic has been improved as a whole.
All the logic to get the data from the env var was confusing.
Setting default values was tricky to understand.
Every time the server booted, all settings were updated and callbacks were called 2x or more (horrible for environments with multiple instances and generating a turbulent startup).
Settings.get(......, callback);was deprecated. We now have better methods for each case.Issue(s)
Steps to test or reproduce
Further comments