refs #1009 make status() synchronous
parent
1fdeb2adeb
commit
85dd23f957
|
@ -306,7 +306,9 @@ class ogAdmClientWorker (ogLiveWorker):
|
|||
|
||||
logger.info ('onActivation ok')
|
||||
|
||||
def do_status (self, post_params):
|
||||
@check_secret
|
||||
def process_status (self, path, get_params, post_params, server):
|
||||
logger.debug ('in process_status, path "{}" get_params "{}" post_params "{}" server "{}"'.format (path, get_params, post_params, server))
|
||||
cfg = self.LeeConfiguracion()
|
||||
thr_status = {}
|
||||
for k in self.thread_list:
|
||||
|
@ -322,11 +324,6 @@ class ogAdmClientWorker (ogLiveWorker):
|
|||
'threads': thr_status,
|
||||
}
|
||||
|
||||
@check_secret
|
||||
def process_status (self, path, get_params, post_params, server):
|
||||
logger.debug ('in process_status, path "{}" get_params "{}" post_params "{}" server "{}"'.format (path, get_params, post_params, server))
|
||||
return self._long_running_job ('status', self.do_status, args=(post_params,))
|
||||
|
||||
@check_secret
|
||||
def process_popup (self, path, get_params, post_params, server):
|
||||
logger.debug ('in process_popup, path "{}" get_params "{}" post_params "{}" server "{}"'.format (path, get_params, post_params, server))
|
||||
|
|
Loading…
Reference in New Issue