From e20afa6a6918298bec12fa0b13c655aae66758f4 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 22 Jun 2008 17:31:09 +0000 Subject: ew_ftw was reading up to 32 Mb for a fast poll and 256 Mb for a slow poll. That seems excessive. Reduce to 32 Kb and 256 Kb (resp). --- modules/es_ftw/es_ftw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/es_ftw/es_ftw.cpp b/modules/es_ftw/es_ftw.cpp index d13016104..45271b040 100644 --- a/modules/es_ftw/es_ftw.cpp +++ b/modules/es_ftw/es_ftw.cpp @@ -105,7 +105,7 @@ FTW_EntropySource::FTW_EntropySource(const std::string& p) : path(p) *************************************************/ void FTW_EntropySource::do_fast_poll() { - poll(32*1024); + poll(32); } /************************************************* @@ -113,7 +113,7 @@ void FTW_EntropySource::do_fast_poll() *************************************************/ void FTW_EntropySource::do_slow_poll() { - poll(256*1024); + poll(256); } /************************************************* -- cgit v1.2.3