Implement Sequential Rate Limiting

This commit is contained in:
Amish Shah
2016-08-19 18:01:24 +01:00
parent 392133f927
commit dcba580d89
9 changed files with 122 additions and 84 deletions

View File

@@ -151,7 +151,8 @@ class WebSocketManager {
* Run whenever an error occurs with the WebSocket connection. Tries to reconnect
* @returns {null}
*/
eventError() {
eventError(e) {
console.log(e);
this.tryReconnect();
}