forked from goodboy/tractor
Shorten arbiter contact timeout
parent
0a2a94fee0
commit
9067bb2a41
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue