Skip to content

Commit

Permalink
pull files off the front of the list
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Gauthier committed Feb 16, 2010
1 parent e06d9a2 commit 6a1c3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hydra/master.rb
Expand Up @@ -48,7 +48,7 @@ def initialize(opts = { })

# 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
Expand Down

0 comments on commit 6a1c3b1

Please sign in to comment.