Page MenuHomePhabricator

Support timeouts in OAuth1Future
ClosedPublic

Authored by epriestley on May 20 2019, 6:39 PM.
Tags
None
Referenced Files
F14984001: D20529.diff
Sun, Feb 16, 2:31 PM
Unknown Object (File)
Sun, Feb 9, 4:53 PM
Unknown Object (File)
Fri, Feb 7, 5:28 AM
Unknown Object (File)
Wed, Feb 5, 4:36 PM
Unknown Object (File)
Mon, Jan 27, 11:01 AM
Unknown Object (File)
Wed, Jan 22, 6:07 PM
Unknown Object (File)
Wed, Jan 22, 5:18 PM
Unknown Object (File)
Tue, Jan 21, 3:26 PM
Subscribers
None

Details

Summary

Ref T13291. Ref T13285. Add "setTimeout()" to OAuth1Future to support adding timeouts to Doorkeeper OAuth requests, so we're less likely to cascade into explosive failure if a linked JIRA instance dies.

Test Plan

See next change.

Diff Detail

Repository
rPHU libphutil
Branch
doorkeeper2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22834
Build 31323: Run Core Tests
Build 31322: arc lint + arc unit

Event Timeline

  • Also add support to the "AsanaFuture", which is a separate future.
This revision is now accepted and ready to land.May 21 2019, 5:44 PM
This revision was automatically updated to reflect the committed changes.