Skip to content

Conversation

stafyniaksacha
Copy link
Contributor

No description provided.

@codecov-io
Copy link

codecov-io commented Sep 21, 2016

Current coverage is 100% (diff: 100%)

Merging #117 into develop will not change coverage

@@           develop   #117   diff @@
=====================================
  Files           16     16          
  Lines         1552   1553     +1   
  Methods        264    264          
  Messages         0      0          
  Branches       398    398          
=====================================
+ Hits          1552   1553     +1   
  Misses           0      0          
  Partials         0      0          

Powered by Codecov. Last update 9e71368...c9c7ee0

@@ -57,7 +57,8 @@ module.exports = Kuzzle = function (host, options, cb) {
jwtTokenExpired: {lastEmitted: null, listeners: []},
loginAttempt: {lastEmitted: null, listeners: []},
offlineQueuePush: {listeners: []},
offlineQueuePop: {listeners: []}
offlineQueuePop: {listeners: []},
queryError: {lastEmitted: null, listeners: []}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the lastEmitted property automatically prevents this event being fired more than once every this.eventTimeout ms (currently set to 200ms).

We may not want to throttle this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@scottinet
Copy link
Contributor

Do you plan to add this one to android and ios?

@j33f
Copy link
Contributor

j33f commented Sep 21, 2016

I need to have the actual pending PRs on iOS SDK to be merged then I'll figure out how to implement it

@stafyniaksacha
Copy link
Contributor Author

It can be delayed, JIRA Ticket was written

@stafyniaksacha stafyniaksacha merged commit 0ffddb4 into develop Sep 21, 2016
@stafyniaksacha stafyniaksacha deleted the develop-event-queryerror branch September 21, 2016 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants