forked from DiceDB/dice
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding default config file to be used when dice server starts (DiceDB…
- Loading branch information
1 parent
1df50d2
commit 55748da
Showing
8 changed files
with
51 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[Server] | ||
Addr = '0.0.0.0' | ||
Port = 7379 | ||
KeepAlive = 300 | ||
Timeout = 300 | ||
MaxConn = 0 | ||
# Value in nanoseconds (30 seconds) | ||
ShardCronFrequency = 30000000000 | ||
# Value in nanoseconds (100 ms/0.1 seconds) | ||
MultiplexerPollTimeout = 100000000 | ||
MaxClients = 20000 | ||
MaxMemory = 0 | ||
EvictionPolicy = 'allkeys-lfu' | ||
EvictionRatio = 0.4 | ||
KeysLimit = 100000 | ||
AOFFile = './dice-master.aof' | ||
WriteAOFOnCleanup = false | ||
LFULogFactor = 10 | ||
LogLevel = 'info' | ||
PrettyPrintLogs = false | ||
EnableMultiThreading = false | ||
StoreMapInitSize = 10240 | ||
WatchChanBufSize = 20000 | ||
|
||
[Auth] | ||
UserName = 'dice' | ||
Password = '' | ||
|
||
[Network] | ||
IOBufferLength = 512 | ||
IOBufferLengthMAX = 51200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters