youtube-dl-webui
youtube-dl-webui copied to clipboard
multiprocess problem
i plan extend the youtube-dl-webui code to meet my demand, but i found some mutliprocess data access problem. i think the code queue.get and after queue.get will return wrong data sometimes.
1:MSG.put('create', payload)
2:return json.dumps(MSG.get())
after line 1 code, maybe another thread put data in queue, so return data maybe wrong