search for: last_at

Displaying 1 result from an estimated 1 matches for "last_at".

Did you mean: last_act
2005 Nov 04
0
Threads and Active Reccord
...at''s being used to produce the problems: <code> # method run by controller def check_all_feeds_and_create_tells fill_feed_queue sleep(1.minute) checkers = (1..3).map do |i| process_feed_chunk end end private def fill_feed_queue last_at = 0 @queue = SizedQueue.new(10) # with a capacity for 10 # we do the queue filling in a single thread that runs until no more items are left to add Thread.new do loop do logger.debug("Fetching next block of feeds: limit = #{FEED_FETCH_LIMIT}, offset = #{la...