app config, tweakers, move_* functions
This commit is contained in:
@@ -32,12 +32,11 @@ class Deltatau:
|
||||
if len(hpp)>2:
|
||||
param['fast_gather_port']=int(hpp[2])
|
||||
_log.info(' -> ssh-tunneling PPComm({host}:{port} {host}:{fast_gather_port})'.format(**param))
|
||||
|
||||
try:
|
||||
self._comm=comm=PPComm(**param)
|
||||
self._comm=comm=PPComm(**param,timeout=2.0)
|
||||
self._gather=gather=Gather(comm)
|
||||
except BaseException as e:
|
||||
_log.critical(f'can not connect to deltatau:{e}')
|
||||
except socket.timeout as e:
|
||||
_log.critical(f'can not connect to deltatau:"{host}" -> {e}')
|
||||
self._comm=comm=None
|
||||
self._gather=gather=None
|
||||
#return
|
||||
|
||||
Reference in New Issue
Block a user