Skip to content

Commit

Permalink
Changed cache to be every 5 items in stead of 0xA
Browse files Browse the repository at this point in the history
  • Loading branch information
frikky committed Jul 27, 2023
1 parent b0beea8 commit 9383ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db-connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func GetESIndexPrefix(index string) string {

// Dumps data from cache to DB for every 10 action (old was 25)
//var dumpInterval = 0x19
var dumpInterval = 0xA
var dumpInterval = 0x5
//var dumpInterval = 0x1

// 1. Check list if there is a record for yesterday
Expand Down

0 comments on commit 9383ab7

Please sign in to comment.