close
Skip to content

Delay successive API calls by EventStream - #564

Merged
mattwiller merged 1 commit into
masterfrom
event_stream_calls
Mar 1, 2018
Merged

Delay successive API calls by EventStream#564
mattwiller merged 1 commit into
masterfrom
event_stream_calls

Conversation

@mattwiller

Copy link
Copy Markdown

Inserting a delay between polling calls to get more events in order to control the number of API calls made by the Event Stream. Because there may be duplicates in the stream, it is currently possible for the stream to make 3-5 calls per second even in cases when the user sees no new events — this is obviously undesirable. The default is now to wait 1s between calls, and is user-configurable.

@mattwiller
mattwiller requested a review from carycheng February 27, 2018 06:07
@boxcla

boxcla commented Feb 27, 2018

Copy link
Copy Markdown

Verified that @mattwiller has signed the CLA. Thanks for the pull request!

@mattwiller
mattwiller merged commit 24985fa into master Mar 1, 2018
@mattwiller
mattwiller deleted the event_stream_calls branch March 1, 2018 19:52
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.

3 participants