lib/octospy/worker.rb in octospy-0.0.5 vs lib/octospy/worker.rb in octospy-0.0.6

- old
+ new

@@ -28,9 +28,10 @@ if Octokit.rate_limit.remaining.zero? @block.call "ヾ(;´Д`)ノ #{::Octokit.rate_limit}" break end + sleep Octospy.api_request_interval arr.concat ::Octokit.repository_events(repo) end end def while_ago