Why shouldn't I use time.sleep()?
Hello all, I saw in many places that the usage of time.sleep() is strongly not recommended. Can someone please explain me why it's a problem and what can it do for the running? Moreover, shouldn't I use the time.sleep() in every place in my code or only in services/clients/publishers/subscribers or can I use it in some functions? Thank you in advance, the question
Asked by Og on 2022-09-12 00:57:16 UTC
Comments
You would need to offer a suggested piece of code where you think that shouldn't be used.
Asked by stevemacenski on 2022-09-12 15:04:28 UTC