From a817afea71dd15a6eb39a7ee566d5c4f7e512d14 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 13 Jan 2017 09:12:12 +0000 Subject: readahead: handle queued commands properly (again) We may have hashes in the queue, too. Followup-to: af91a075c10c ("readahead: handle queued commands properly") --- bin/dtas-readahead | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/dtas-readahead b/bin/dtas-readahead index 40a4ebd..68186dc 100755 --- a/bin/dtas-readahead +++ b/bin/dtas-readahead @@ -178,6 +178,7 @@ begin # queue has priority, work on it, first queue = YAML.load(c.req('queue cat')) while @todo_ra > 0 && track = queue.shift + next unless track.kind_of?(String) fp = nil begin fp = work[track] ||= do_open(track) -- cgit v1.2.3-24-ge0c7