aboutsummaryrefslogtreecommitdiffstats
path: root/src/entropy/proc_walk/es_ftw.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-01-28 01:18:20 +0000
committerlloyd <[email protected]>2009-01-28 01:18:20 +0000
commit89b72bf90264acc6cb84ee424e29ec4bd0e7539e (patch)
tree1426894e80bfaa6c4e418007d19c2de53fd82fe7 /src/entropy/proc_walk/es_ftw.cpp
parent22de3aa6cd5aeb21001f58f26b0e24143e41a276 (diff)
Double the static estimate in es_ftw. To collect 256 bits of estimated
entropy, the proc walker will read about 256K bytes. This seems plenty sufficient to me.
Diffstat (limited to 'src/entropy/proc_walk/es_ftw.cpp')
-rw-r--r--src/entropy/proc_walk/es_ftw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entropy/proc_walk/es_ftw.cpp b/src/entropy/proc_walk/es_ftw.cpp
index 406e84cb0..55f26fa73 100644
--- a/src/entropy/proc_walk/es_ftw.cpp
+++ b/src/entropy/proc_walk/es_ftw.cpp
@@ -134,7 +134,7 @@ void FTW_EntropySource::poll(Entropy_Accumulator& accum)
::close(fd);
if(got > 0)
- accum.add(io_buffer.begin(), got, .005);
+ accum.add(io_buffer.begin(), got, .01);
if(accum.polling_goal_achieved())
break;