-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kazoo 304 #38
Merged
Merged
Kazoo 304 #38
Conversation
This file contains 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
Add the crossbar_module_sup back to the mix, for cb_* modules to start their supervisors under; cb_buckets_sup is the supervisor for managing the ets table workers and the kz_token_bucket supervisor; cb_kz_buckets_sup is the sofo supervisor for the kz_token_bucket servers; cb_buckets_mgr is the owner and heir of the ETS table, and passes control to the server used for finding bucket servers cb_buckets_ets is the interface for reading/creating bucket servers, based on account_id and client_ip.
We try to call cb_module:module_info() to see if the cb_* module exists rather than checking the filesystem for the beam file
jamesaimonetti
added a commit
that referenced
this pull request
Sep 11, 2018
# This is the 1st commit message: Merge the diff into the current doc and try saving again cleanup logging prefer the diff's value (excepting _rev) # This is the commit message #1: simplfy doc return # This is the commit message #2: only convert to binary if a list of ascii is present also don't convert kz_json:object() to null if found update tests accordingly # This is the commit message #3: use sets:subtract/2 to find the diff in J1 and J2 # This is the commit message #4: add ability to merge list of jobjs with strategy fun # This is the commit message #5: more diff testing # This is the commit message #6: flag ensure_saved as deprecated # This is the commit message #7: remove arity-4 export we can change arity-3 to accept options instead of the updates directly # This is the commit message #8: ignore return # This is the commit message #9: refactor update_doc to take an options list instead # This is the commit message #10: update account docs with update proplist # This is the commit message #11: add specs and update type # This is the commit message #12: update usage of kz_datamgr:update_doc # This is the commit message #13: update uses of update_doc # This is the commit message #14: expose paths for properties also fixes updating the version in the accounts DB # This is the commit message #15: expose the base properties being set # This is the commit message #16: use a setter # This is the commit message #17: expose more paths # This is the commit message #18: update uses of ensure_saved to use update_doc # This is the commit message #19: fix function call # This is the commit message #20: ignore returns # This is the commit message #21: less args passed around # This is the commit message #22: filter undefined # This is the commit message #23: takes a flat proplist # This is the commit message #24: match return # This is the commit message #25: use the saved version in future contexts # This is the commit message #26: just try to delete the doc without opening it # This is the commit message #27: handle returns # This is the commit message #28: handle return # This is the commit message #29: delete the doc directly, handle returns # This is the commit message #30: refactor a bit # This is the commit message #31: remove unreachable clause # This is the commit message #32: update spec # This is the commit message #33: expose more paths # This is the commit message #34: expose more paths # This is the commit message #35: fix specs # This is the commit message #36: match on proper return # This is the commit message #37: update spec # This is the commit message #38: update account docs # This is the commit message #39: should save the docs # This is the commit message #40: add missing types # This is the commit message #41: hackney wants a binary # This is the commit message #42: hackney wants a binary # This is the commit message #43: more strict checking of design docs # This is the commit message #44: update type # This is the commit message #45: update usages # This is the commit message #46: add announcement for 4.3 # This is the commit message #47: update spelling # This is the commit message #48: fix spelling # This is the commit message #49: ref the local fun # This is the commit message #50: save the accounts version if not_found # This is the commit message #51: return the account db version # This is the commit message #52: hide $ from formatter # This is the commit message #53: make sure to update the account doc # This is the commit message #54: move saving account docs to updates instaed # This is the commit message #55: right function name this time
sudomabider
pushed a commit
to OpenTelecom/kazoo
that referenced
this pull request
Oct 16, 2018
[KAZ-355] Update presence state when DND toggled
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.
Adds a token bucket per account/IP combo for throttling queries (returns a 429 Too Many Requests).
Moves crossbar bindings into an ETS table for concurrent reading (I think we can filter the result set before actually processing which match, but that's for another day).
Fix how we determine which nouns in the URL match a crossbar module (don't hit the file system to check for a beam for each path token).
Crossbar is much faster per request, and much much faster on concurrent requests (when not hitting a view).