diff options
author | Eric Wong <e@80x24.org> | 2017-01-13 09:12:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-01-13 09:12:12 +0000 |
commit | a817afea71dd15a6eb39a7ee566d5c4f7e512d14 (patch) | |
tree | 5141c405e6e077b39715353d8c2dbb5b45b472ce /bin/dtas-readahead | |
parent | 97fd0a17aafcf342757829798aa5c8c1b8d562ca (diff) | |
download | dtas-a817afea71dd15a6eb39a7ee566d5c4f7e512d14.tar.gz |
We may have hashes in the queue, too. Followup-to: af91a075c10c ("readahead: handle queued commands properly")
Diffstat (limited to 'bin/dtas-readahead')
-rwxr-xr-x | bin/dtas-readahead | 1 |
1 files changed, 1 insertions, 0 deletions
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) |