Skip to content

Commit

Permalink
#fixes approximate cache size configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Linoy339 committed Feb 14, 2022
1 parent 9b2dbdf commit 2ddf54b
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 2ddf54b

Please sign in to comment.