From 63a32f70515eae0c9e7ca67142a78c98537d0532 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Sun, 30 Sep 2018 17:03:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20Reduce=20disk=20write=20limit=20?= =?UTF-8?q?to=202MB/s=20for=20testing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rateLimiter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rateLimiter.c b/src/rateLimiter.c index f4f29b6..917b06c 100644 --- a/src/rateLimiter.c +++ b/src/rateLimiter.c @@ -8,8 +8,8 @@ #include "rateLimiter.h" #include "utils/min.h" -//How many bytes we can write to disk per second: 100 MB - TODO: need to use a better value for this -#define DISK_SPEED 100UL * 1024UL * 1024UL +//How many bytes we can write to disk per second: 2 MB - TODO: need to use a better value for this +#define DISK_SPEED 2UL * 1024UL * 1024UL /** If we are not writing to disk, how many seconds the capacity can keep increasing before it reaches the limit. * Increasing this value can result in a spike of data once we are writing to disk again, but then allows the data * to quickly be written without having to wait for capacity to be available. */