Skip to content

Commit

Permalink
Sleep for a contact between contacts made check
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Shaheen authored and Luke Shaheen committed Nov 18, 2016
1 parent d3202c9 commit 08ba9bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/NationBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@ public function findContactMade($searchParams)
}
}
}
//Sleep for 1 second to prevent rate limits
usleep(1000000);
}
return null;
}
Expand Down

0 comments on commit 08ba9bf

Please sign in to comment.