🐎 Reduce disk write limit to 2MB/s for testing
This commit is contained in:
parent
8b7abe7c79
commit
63a32f7051
1 changed files with 2 additions and 2 deletions
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue