Skip to content
This repository was archived by the owner on Oct 24, 2022. It is now read-only.

Allow you to set a timeout for the Github client#27

Merged
copitux merged 1 commit intocopitux:masterfrom
DataDog:master
Oct 6, 2012
Merged

Allow you to set a timeout for the Github client#27
copitux merged 1 commit intocopitux:masterfrom
DataDog:master

Conversation

@conorbranagan
Copy link
Copy Markdown

Simple change, basically lets you pass in a timeout for the client so every service will timeout after a certain time. So you end up with something like this:

gh = Github(token=gh_token, timeout=10, ...)

copitux added a commit that referenced this pull request Oct 6, 2012
Allow you to set a timeout for the Github client
@copitux copitux merged commit 3320973 into copitux:master Oct 6, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants