Answer the question
In order to leave comments, you need to log in
Why does the stream not start from all files?
Hello!
Here there is such structure
In message.py at start of a jung the stream starts without problems.
Added stream to stats/views.py but doesn't want to run.
I created an api file in the root of the folder, it does not start. With api/views.py started.
Code Example
def s():
while True:
print('SSSSSSSSSS')
time.sleep(5)
t = threading.Thread(target=s, daemon=True)
t.start()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question