Skip to content

Commit 3beb032

Browse files
returned parameters
1 parent a308de2 commit 3beb032

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fastcache.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212
)
1313

1414
const setBufSize = 32 * 1024
15-
const writeSizeThreshold = 1000
15+
const writeSizeThreshold = 250
1616
const maxDelayMillis = 5
1717

18-
const bucketsCount = 1024
18+
const bucketsCount = 512
1919

2020
const chunkSize = 64 * 1024
2121

0 commit comments

Comments
 (0)