Sha256: 1cdf5d82dbc71219119179e950caae74bb92636303071dabbf0a8d2411ab0d7c
Contents?: true
Size: 361 Bytes
Versions: 3
Compression:
Stored size: 361 Bytes
Contents
module SnowmanIO module Loop class Spiders include Celluloid def initialize after(5) { tick } end def tick App.time "Spiders Performing Time" do perform end after(30) { tick } end private def perform Spider::InternalMongo.new.grab end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
snowman-io-0.4.0 | lib/snowman-io/loop/spiders.rb |
snowman-io-0.3.1 | lib/snowman-io/loop/spiders.rb |
snowman-io-0.3.0 | lib/snowman-io/loop/spiders.rb |