Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add optional timeout #12

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

add optional timeout #12

wants to merge 1 commit into from

Conversation

vadimg
Copy link

@vadimg vadimg commented Apr 20, 2016

Prevents hanging threads due to network issues.

Prevents hanging threads due to network issues.
@@ -30,16 +30,31 @@
u'pcls_fix': u'PreviousClosePrice'
}

DEFAULT_TIMEOUT = None
Copy link
Owner

Choose a reason for hiding this comment

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

Please set a number here for a default value

Copy link
Author

@vadimg vadimg Apr 27, 2016

Choose a reason for hiding this comment

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

Are you sure you want that? It will make this change non-backwards compatible.

Meaning that some clients (who are on bad networks perhaps?) may start timing out.

So, should I set this default value to something ridiculous, like 30 seconds?

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.

2 participants