-
-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dexie-cloud addon websocket client-side rate-limits:
Decrease pause period from 10 to 1 second when more than 10 WebSocket messages per 10 seconds limit is reached. + simplify the loop + make it confifurable with const variables in top of the module. Remove the panic pause of one minute if getting into the limit over and over. Instead let it do it but at most 10 messages per second. If we see this becoming a problem we could enforce a limit on the server instead.
- Loading branch information
1 parent
a09b699
commit fdd9844
Showing
1 changed file
with
9 additions
and
14 deletions.
There are no files selected for viewing
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