code: def random_sleep(self, previous_attempt_number, delay_since_first_attempt_ms):
          
          return random.randint(self._wait_random_min, self._wait_random_max)
docs: Sleep a random amount of time between wait_random_min and wait_random_max