Skip to content

Commit

Permalink
Sleep halved
Browse files Browse the repository at this point in the history
  • Loading branch information
staticall committed Nov 16, 2016
1 parent 28b49e0 commit 638a558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Api/Odr.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ protected function _execute($url = '', $method = self::DEFAULT_METHOD, array $da
curl_close($ch);

// Too much request at a time can ban us
sleep(1);
usleep(500);

if (!empty($this->_error)) {
throw new Api_Odr_Exception($this->_error);
Expand Down

0 comments on commit 638a558

Please sign in to comment.