Sha256: 005f626505abd9173a50867675de5582eafc4b6004f29029130e111474ab60d6

Contents?: true

Size: 304 Bytes

Versions: 12

Compression:

Stored size: 304 Bytes

Contents

module HydraExtension
  module Listener
    class WorkerBeganFlag < Hydra::Listener::Abstract
      # Fired after runner processes have been started
      def worker_begin(worker)
        FileUtils.touch File.expand_path(File.join(Dir.consistent_tmpdir, 'worker_began_flag'))
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 5 rubygems

Version Path
ngauthier-hydra-0.24.0 test/fixtures/master_listeners.rb
nulogy-hydra-0.26.0 test/fixtures/master_listeners.rb
arturop-hydra-0.25.0 test/fixtures/master_listeners.rb
arturop-hydra-0.24.0 test/fixtures/master_listeners.rb
hydra-0.24.0 test/fixtures/master_listeners.rb
nulogy-hydra-0.23.2.1 test/fixtures/master_listeners.rb
justinf-hydra-0.23.8 test/fixtures/master_listeners.rb
justinf-hydra-0.23.7 test/fixtures/master_listeners.rb
justinf-hydra-0.23.6 test/fixtures/master_listeners.rb
justinf-hydra-0.23.5 test/fixtures/master_listeners.rb
justinf-hydra-0.23.4 test/fixtures/master_listeners.rb
arturop-hydra-0.23.4 test/fixtures/master_listeners.rb