CC-2721: Pypo doesn't restart when it gets new stream setting
- fixed
This commit is contained in:
parent
078aa1d05d
commit
88d3fa73be
3 changed files with 17 additions and 11 deletions
|
@ -127,15 +127,19 @@ if __name__ == '__main__':
|
|||
q = Queue()
|
||||
|
||||
pp = PypoPush(q)
|
||||
pp.daemon = True
|
||||
pp.start()
|
||||
|
||||
pf = PypoFetch(q)
|
||||
pf.daemon = True
|
||||
pf.start()
|
||||
|
||||
while True: time.sleep(3600)
|
||||
#while True: time.sleep(3600)
|
||||
|
||||
#pp.join()
|
||||
#pf.join()
|
||||
pf.join()
|
||||
logger.info("pypo fetch exit")
|
||||
sys.exit()
|
||||
"""
|
||||
if options.check:
|
||||
try: g.check_schedule()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue