certstore支持redis同步异步方式

This commit is contained in:
fengweihao
2019-08-21 14:03:53 +08:00
parent bd352e07e3
commit bb6b1664c1
5 changed files with 193 additions and 134 deletions

View File

@@ -86,6 +86,7 @@ void cert_preview ()
struct config_bucket_t *rte = cert_default_config();
printf("\r\nBasic Configuration of CertStore \n");
printf("%30s:%45s\n", "Run Mode", (rte->mode == 1)?"rsync":"sync");
printf("%30s:%45d\n", "The Threads", rte->thread_nu);
printf("%30s:%45s\n", "Store Redis Ip", rte->addr_t.store_ip);
printf("%30s:%45d\n", "Store Redis Port", rte->addr_t.store_port);