def incrementing_sleep(self, previous_attempt_number, delay_since_first_attempt_ms):
result = self._wait_incrementing_start + (self._wait_incrementing_increment * (previous_attempt_number - <NUM_LIT:1>))<EOL>if result > self._wait_incrementing_max:<EOL><INDENT>result = self._wait_incrementing_max<EOL><DEDENT>if result < <NUM_LIT:0>:<EOL><INDENT>result = <NUM_LIT:0><EOL><DEDENT>return result<EOL>
Sleep an incremental amount of time after each attempt, starting at
wait_incrementing_start and incrementing by wait_incrementing_increment