Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Issue #497: Allow socket timeout to be overridden on a per request basis #499

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dconnelly
Copy link

This allows the GetStreamingEvents call to specify a longer timeout so connection is not
dropped before lifetime minutes has been reached. Relying on heartbeats to keep the
connection alive does not seem to work for Office365.

…equest basis.

This allows the GetStreamingEvents call to specify a longer timeout so connection is not
dropped before lifetime minutes has been reached. Relying on heartbeats to keep the
connection alive does not seem to work for Office365.
@codecov-io
Copy link

Current coverage is 10.42%

Merging #499 into master will not affect coverage as of 48ff956

@@            master    #499   diff @@
======================================
  Files          550     550       
  Stmts        20432   20435     +3
  Branches      2625    2626     +1
  Methods          0       0       
======================================
  Hit           2131    2131       
  Partial        153     153       
- Missed       18148   18151     +3

Review entire Coverage Diff as of 48ff956

Powered by Codecov. Updated on successful CI builds.

@@ -122,6 +125,10 @@ protected void validate() throws Exception {
this.service.validate();
}

public void setTimeout(Integer timeout) {
Copy link
Member

Choose a reason for hiding this comment

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

please add javadoc to this method

@serious6
Copy link
Member

once javadocs has been added this is ready to merge. Fell free to add some unit-tests as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants