-
Notifications
You must be signed in to change notification settings - Fork 66
/
init_data.json
94 lines (94 loc) · 2.9 KB
/
init_data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[
{
"model": "polls.redisconf",
"pk": 1,
"fields": {
"redis_version": "3.0.6",
"redis_type": "Redis-Standalone",
"daemonize": "yes",
"tcp_backlog": 511,
"timeout": 0,
"tcp_keepalive": 60,
"loglevel": "notice",
"databases": 16,
"dir": "/opt/repoll/data",
"stop_writes_on_bgsave_error": "no",
"repl_timeout": 60,
"repl_ping_slave_period": 10,
"repl_disable_tcp_nodelay": "no",
"repl_backlog_size": "10M",
"repl_backlog_ttl": 7200,
"slave_serve_stale_data": "yes",
"slave_read_only": "yes",
"slave_priority": 100,
"lua_time_limit": 5000,
"slowlog_log_slower_than": 10000,
"slowlog_max_len": 128,
"hash_max_ziplist_entries": 512,
"hash_max_ziplist_value": 64,
"list_max_ziplist_entries": 512,
"list_max_ziplist_value": 64,
"set_max_intset_entries": 512,
"zset_max_ziplist_entries": 128,
"zset_max_ziplist_value": 64,
"activerehashing": "yes",
"clientOutputBufferLimitNormal": "0 0 0",
"clientOutputBufferLimitSlave": "512mb 128mb 60",
"clientOutputBufferLimitPubsub": "32mb 8mb 60",
"hz": 10,
"port": "%port%",
"maxmemory": "%dmb%",
"maxmemory_policy": "volatile-lru",
"appendonly": "yes",
"appendfsync": "everysec",
"appendfilename": "appendonly-%port%.aof",
"dbfilename": "dump-%port%.rdb",
"aof_rewrite_incremental_fsync": "yes",
"no_appendfsync_on_rewrite": "yes",
"auto_aof_rewrite_min_size": "64m",
"auto_aof_rewrite_percentage": "100",
"rdbcompression": "yes",
"rdbchecksum": "yes",
"repl_diskless_sync": "no",
"repl_diskless_sync_delay": 5,
"save900": 1,
"save300": 10,
"save60": 10000,
"maxclients": 10000,
"hll_sparse_max_bytes": 3000,
"min_slaves_to_write": 0,
"min_slaves_max_lag": 10,
"aof_load_truncated": "yes",
"notify_keyspace_events": null,
"logfile": "/opt/repoll/"
}
},
{
"model": "polls.redissentienlconf",
"pk": 1,
"fields": {
"redis_type": "Redis-Sentinel",
"daemonize": "yes",
"port": "%port%",
"dir": "/opt/repoll/",
"sentinelMonitor": "%masterName_ip_port_num%",
"sentinelDownAfterMilliseconds": "%s 20000%",
"sentinelFailoverTimeout": "%s 180000%",
"sentinelParallelSyncs": "%s 1%",
"logfile": "/opt/repoll/"
}
},
{
"model": "polls.redisclusterconf",
"pk": 1,
"fields": {
"redis_type": "Redis-Cluster",
"cluster_enabled": "yes",
"cluster_node_timeout": 15000,
"cluster_slave_validity_factor": 10,
"cluster_migration_barrier": 1,
"clusterconfigfile": "nodes-%d.conf",
"cluster_require_full_coverage": "no"
}
}
]