Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.

Expose timeout. - #3

Merged
kurttheviking merged 1 commit into
kurttheviking:masterfrom
zachsnow:dev/timeout
Jun 17, 2013
Merged

kurttheviking merged 1 commit into
kurttheviking:masterfrom
zachsnow:dev/timeout

Conversation

@zachsnow

Copy link
Copy Markdown
Contributor

Expose timeout on hipchat.method so that it's safer to use synchronously on a path that shouldn't hang. Leaves current signature/behavior unchanged -- it would probably be a good idea to default the timeout to something reasonable, though.

(This is actually a pretty bad interface, but doesn't break existing code and it gets the job done. Ideally you'd specify the timeout once, or make it easier to override the opener, or something, I guess.)

kurttheviking added a commit that referenced this pull request Jun 17, 2013
@kurttheviking
kurttheviking merged commit e9ad933 into kurttheviking:master Jun 17, 2013
@zachsnow

Copy link
Copy Markdown
Contributor Author

Thanks Kurt!

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