Never allow more then info logging in daemon; causes blocking
parent
8477d21499
commit
7f74182a8a
|
@ -124,6 +124,10 @@ def sig_prog(proc, sig):
|
|||
def daemon(loglevel, testdir, arb_addr):
|
||||
"""Run a daemon actor as a "remote arbiter".
|
||||
"""
|
||||
if loglevel in ('trace', 'debug'):
|
||||
# too much logging will lock up the subproc (smh)
|
||||
loglevel = 'info'
|
||||
|
||||
cmdargs = [
|
||||
sys.executable, '-c',
|
||||
"import tractor; tractor.run_daemon((), arbiter_addr={}, loglevel={})"
|
||||
|
|
Loading…
Reference in New Issue