sleepTime: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|
(No difference)
|
Latest revision as of 22:34, 26 April 2021
- sleepTime <microseconds>
- Sleeps for the specified microseconds every program cycle to conserve CPU cycles.
Setting it to a higher value will make Kore use less CPU power, but also less responsive. If you run just one or two bots, then you should leave it at the default value of 10000. However, if you run many bots, and CPU usage is a concern, then you should set it to a higher value. In that case, a value of 50000 is recommended. It's generally not recommended to set the value higher than 200000, as it will make your bot very unresponsive.