Sha256: 6b2396ecd45092b5db1e889b123fcaddb864ee199c43a2beaa8930b34aba93e0

Contents?: true

Size: 317 Bytes

Versions: 7

Compression:

Stored size: 317 Bytes

Contents

module Myreplicator
  class Sweeper
   
    @queue = :myreplicator_sweeper # Provided for Resque
    
    ##
    # Main method provided for resque
    # Reconnection provided for resque workers
    ##
    def self.perform
      Myreplicator::Log.clear_deads
      Myreplicator::Log.clear_stucks
    end
    
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
myreplicator-1.1.25 app/models/myreplicator/sweeper.rb
myreplicator-1.1.24 app/models/myreplicator/sweeper.rb
myreplicator-1.1.23 app/models/myreplicator/sweeper.rb
myreplicator-1.1.22 app/models/myreplicator/sweeper.rb
myreplicator-1.1.21 app/models/myreplicator/sweeper.rb
myreplicator-1.1.20 app/models/myreplicator/sweeper.rb
myreplicator-1.1.19 app/models/myreplicator/sweeper.rb