Skip to content

Commit

Permalink
Merge pull request #180 from BIDMCDigitalPsychiatry/configure-cachesi…
Browse files Browse the repository at this point in the history
…ze-approximation

#fixes approximate cache size configuration
  • Loading branch information
ZCOEngineer authored Feb 14, 2022
2 parents 9b2dbdf + 2ddf54b commit 34ed773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/queue/BulkDataWriteQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { BulkDataWriteSlaveQueue } from "./Queue"
import { Mutex } from "async-mutex"
const clientLock = new Mutex()
const Max_Store_Size = !!process.env.CACHE_SIZE
? (Number(process.env.CACHE_SIZE) === 0
? (Number(process.env.CACHE_SIZE) < 100
? 100
: Number(process.env.CACHE_SIZE))
: 30000
Expand Down

0 comments on commit 34ed773

Please sign in to comment.