projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f5fa66
)
workaround progression pipe bug
author
Guillaume Cottenceau
<gc@mnc.ch>
Mon, 24 May 2021 13:34:16 +0000
(15:34 +0200)
committer
Guillaume Cottenceau
<gc@mnc.ch>
Mon, 24 May 2021 13:34:16 +0000
(15:34 +0200)
bin/booh
patch
|
blob
|
history
diff --git
a/bin/booh
b/bin/booh
index 72412fddab5cd36d730c91999da0166e7c172757..5766217ce57cc70ddd8ba30eb0682d7a15abd51c 100644
(file)
--- a/
bin/booh
+++ b/
bin/booh
@@
-2126,6
+2126,8
@@
def backend_wait_message(parent, msg, infopipe_path, mode)
infopipe = File.open(infopipe_path, File::RDONLY | File::NONBLOCK)
refresh_thread = Thread.new {
directories_counter = 0
+ #- immediately stops if trying to read before file is written from backend.. simple dirty solution for the moment
+ sleep 1
while line = infopipe.gets
msg 3, "infopipe got data: #{line}"
if line =~ /^directories: (\d+), sizes: (\d+)/