# What is the alternate for sleep()?

**URL:** <https://forum.inductiveautomation.com/t/what-is-the-alternate-for-sleep/111001>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 26, 2025, 11:11am UTC](https://forum.inductiveautomation.com/t/what-is-the-alternate-for-sleep/111001 "2025-09-26T11:11:58Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [September 29, 2025, 2:59pm UTC](https://forum.inductiveautomation.com/t/what-is-the-alternate-for-sleep/111001/10 "2025-09-29T14:59:14Z")

</div>

I see you've made another post related to trying to determine what all the threads are doing. Are you experiencing a log of performance problems or something? Are these related?

> [@Need to understand reason behind the MQTT threads](https://forum.inductiveautomation.com/t/need-to-understand-reason-behind-the-mqtt-threads/111054):
>
> Hi, We are communicating with MES through MQTT. This works fine. But when we analyze the thread there are multiple threads in Waiting ,Runnable and Timed\_Waiting state. So we would like to understand why we are getting this threads? Does it affects performance of the ignition system?

---

_[View the full topic](https://forum.inductiveautomation.com/t/what-is-the-alternate-for-sleep/111001)._
