1
This commit is contained in:
parent
8f1ba1040b
commit
678b1c93c0
4
app.py
4
app.py
@ -68,3 +68,7 @@ class XProcess(Process):
|
||||
continue
|
||||
|
||||
transmitter.run()
|
||||
|
||||
while True:
|
||||
time.sleep(5)
|
||||
print(f'进程{self.partition} 已结束。。。')
|
||||
|
@ -137,5 +137,5 @@ class Transmitter:
|
||||
self.collect_event(self.db_name, tb, data)
|
||||
self.__send(self.db_name, tb, [json.dumps(item) for item in data])
|
||||
except Exception as e:
|
||||
self.log.error(e)
|
||||
self.log.error(traceback.format_exc())
|
||||
buffer.clear()
|
||||
|
Loading…
Reference in New Issue
Block a user