vali há 6 anos atrás
pai
commit
1d11bea2ab
1 ficheiros alterados com 16 adições e 16 exclusões
  1. 16 16
      configs/configs.sample.php

+ 16 - 16
configs/configs.sample.php

@@ -11,11 +11,11 @@ $tmp_config = [
     'common' => [
         'pgsql' => [
             'driver' => 'pgsql',
-            'host' => '192.168.2.220',
-            'port' => 5432,
-            'database' => 'kaiyou3',
-            'username' => 'postgres',
-            'password' => 'root123',
+            'host' => '172.17.0.4',
+            'port' => 10432,
+            'database' => 'kaiyou',
+            'username' => 'kaiyou',
+            'password' => 'yjkj8888',
             'charset' => 'utf8',
             'collation' => 'utf8_unicode_ci',
             'prefix' => ''
@@ -23,9 +23,9 @@ $tmp_config = [
 
         //redis配置
         'redis' => [
-            'host' => '192.168.2.220',
-            'port' => 26379,
-            'passwd' => '123456',
+            'host' => '172.17.0.7',
+            'port' => 16379,
+            'passwd' => 'aqm1728',
             'db' => 0,
             'overtime' => 1,
         ],
@@ -41,7 +41,7 @@ $tmp_config = [
                 'task_enable_coroutine' => true,
                 'dispatch_mode' => 3,
                 'debug_mode' => 1,
-                'task_worker_num' => 100,
+                'task_worker_num' => 80,
                 'log_file' => '../logs/data_' . date("Ymd") . '.log',
             ],
         ],
@@ -97,7 +97,7 @@ $tmp_config = [
             ],
         ],
 
-        //结算相关
+        //调试使用
         'demo' => [
             'host' => '0.0.0.0',
             'port' => '9095',
@@ -114,7 +114,7 @@ $tmp_config = [
             ],
         ],
 
-        //数据库连接池
+        //数据库连接池[暂时不使用]
         'pgsqlpoole' => [
             'poole_host' => '127.0.0.1',
             'poole_port' => 10000,
@@ -131,11 +131,11 @@ $tmp_config = [
             ],
             'dbconfig' => [
                 'driver' => 'pgsql',
-                'host' => '192.168.2.220',
-                'port' => 5432,
-                'database' => 'kaiyou3',
-                'username' => 'postgres',
-                'password' => 'root123',
+                'host' => '172.17.0.4',
+                'port' => 10432,
+                'database' => 'kaiyou',
+                'username' => 'kaiyou',
+                'password' => 'yjkj8888',
                 'charset' => 'utf8',
                 'collation' => 'utf8_unicode_ci',
                 'prefix' => ''