Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

always sleep for at least one second between simulated events

  • Loading branch information...
commit f56bdb0fb48f117e7a19833ce17afc00977de8f9 1 parent c64d9f6
@sferik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/event_simulator
View
2  bin/event_simulator
@@ -12,5 +12,5 @@ events = [
while true
puts "#{Time.now}, #{events[rand(events.size)]}"
$stdout.flush
- sleep(rand(3))
+ sleep(rand(3) + 1)
end
Please sign in to comment.
Something went wrong with that request. Please try again.