1 Star 0 Fork 34

猪奋斗/repoll

forked from NaNShaner/repoll 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
init_data.json 2.90 KB
一键复制 编辑 原始数据 按行查看 历史
NaNShaner 提交于 2020-01-05 22:32 . 新增集群相关功能,已完善。
[
{
"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"
}
}
]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/wjbhydj/repoll.git
[email protected]:wjbhydj/repoll.git
wjbhydj
repoll
repoll
master

搜索帮助