How to Wait Each Thread?

Support
  • Hello guys, please I purchased a premium api with rate limit 1 request per second and I am running upto 100 threads using get request, most times when I start the bot, only one call out of the 100 is successful so please I wanted to ask if there is any way I can tell each thread to wait 1 second between each other before calling the api instead of all calling at once. Thanks for the help

  • @bennettjimmy63 its pretty simple just after Initialize just go on
    Script statics - Thread number OK
    then
    Waiters - Sleep - [[THREAD_INDEX]]*(time to wait ms)

  • Get current thread number

    Support
    0 Votes
    2 Posts
    844 Views
  • Threads on compile bot

    Support
    0 Votes
    2 Posts
    723 Views
  • 0 Votes
    1 Posts
    949 Views
  • 0 Votes
    15 Posts
    5311 Views
  • 0 Votes
    3 Posts
    3112 Views