Functions

  • Generate a random delay to wait before taking an action. The delay is generated from a random number between 0 and max_delay.