diff --git a/lib/hydra/master.rb b/lib/hydra/master.rb index 1a03cbb..732d9eb 100644 --- a/lib/hydra/master.rb +++ b/lib/hydra/master.rb @@ -48,7 +48,7 @@ module Hydra #:nodoc: # Send a file down to a worker. def send_file(worker) - f = @files.pop + f = @files.shift trace "Sending #{f.inspect}" worker[:io].write(RunFile.new(:file => f)) if f end