yokyo 5 years ago
parent
commit
0365617fff
1 changed files with 5 additions and 5 deletions
  1. 5 5
      confs.proto

+ 5 - 5
confs.proto

@@ -8,13 +8,13 @@ message ZkConf {
     repeated string addrs   = 1;
     string username         = 2;
     string password         = 3;
-    int timeout             = 4;
+    int32 timeout             = 4;
 }
 
 message RedisConf {
     repeated string addrs   = 1;
     string password         = 2;
-    int db                  = 3;
+    int32 db                  = 3;
 }
 
 message NatsConf {
@@ -33,7 +33,7 @@ message AgentConf {
     string profileAddr  = 6;
     string agentAddr    = 7;
     string logPath      = 8;
-    int level           = 9;
+    int32 level           = 9;
     string mode         = 10;
 }
 
@@ -51,7 +51,7 @@ message ManagerConf {
     string addr         = 4;
     string profileAddr  = 6;
     string logPath      = 8;
-    int level           = 9;
+    int32 level           = 9;
     string mode         = 10;
 }
 
@@ -64,6 +64,6 @@ message LogicConf {
     string profileAddr  = 6;
     string agentAddr    = 7;
     string logPath      = 8;
-    int level           = 9;
+    int32 level           = 9;
     string mode         = 10;
 }