pull files off the front of the list

This commit is contained in:
Nick Gauthier 2010-02-16 16:37:29 -05:00
parent e06d9a2fab
commit 6a1c3b1325
1 changed files with 1 additions and 1 deletions

View File

@ -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