Shorten arbiter contact timeout

debug_tests
Tyler Goodlet 2020-10-03 19:36:04 -04:00
parent 0a2a94fee0
commit 9067bb2a41
1 changed files with 1 additions and 1 deletions

View File

@ -754,7 +754,7 @@ class Actor:
self._arb_addr is not None self._arb_addr is not None
): ):
failed = False failed = False
with trio.move_on_after(5) as cs: with trio.move_on_after(0.5) as cs:
cs.shield = True cs.shield = True
try: try:
async with get_arbiter(*self._arb_addr) as arb_portal: async with get_arbiter(*self._arb_addr) as arb_portal: