Sha256: e6c930a50a0b573c6dbeaa9b88a08316b703cdeecca8ac0fb84f608f14dfff7d

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 Bytes

Contents

require 'thread'

require 'notifilter'

jobs = []
25.times do
  jobs << Thread.new do
    100.times do |i|
      data = { user_id: rand(10), created_at: Time.now }
      Notifilter.notify("test_app", "signup", data)
    end
  end
end

jobs.map(&:join)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
notifilter-0.0.1 script/send_test_data.rb