Skip to content

Commit

Permalink
Merge pull request #6149 from nimrod-becker/backport_to_5_%
Browse files Browse the repository at this point in the history
Backport to 5.5
  • Loading branch information
nimrod-becker authored Aug 26, 2020
2 parents 325c9fc + b66a12f commit 9c2dc55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ config.CLOUD_MAX_ALLOWED_IO_TEST_ERRORS = 3;
// AGENT BLOCKS VERIFIER //
///////////////////////////

config.AGENT_BLOCKS_VERIFIER_ENABLED = true;
config.AGENT_BLOCKS_VERIFIER_ENABLED = false;
// TODO: Should check what is the optiomal amount of batch
config.AGENT_BLOCKS_VERIFIER_BATCH_SIZE = 1000;
config.AGENT_BLOCKS_VERIFIER_BATCH_DELAY = 50;
Expand Down
2 changes: 1 addition & 1 deletion src/agent/block_store_services/block_store_base.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class BlockStoreBase {
this.block_modify_lock = new KeysLock();
this.block_cache = new LRUCache({
name: 'BlockStoreCache',
max_usage: 200 * 1024 * 1024, // 200 MB
max_usage: 100 * 1024 * 1024, // 100 MB
item_usage: block => block.data.length,
make_key: block_md => block_md.id,
load: async block_md => this._read_block_and_verify(block_md),
Expand Down

0 comments on commit 9c2dc55

Please sign in to comment.