@@ -49,7 +49,7 @@ define('WORKERMAN_LOG_DIR', $log_dir . '/');
// ==ipc-key==
if(!($ipc_key = Man\Core\Lib\Config::get('workerman.ipc_key')))
{
- $ipc_key = 0x70010a2e;
+ $ipc_key = fileinode(WORKERMAN_ROOT_DIR);
}
define('IPC_KEY', $ipc_key);
@@ -4,8 +4,5 @@ debug=1
pid_file=/var/run/workerman.pid
;日志文件目录
log_dir=./logs/
-;共享内存及消息队列用到的key
-ipc_key=0x70010a2f
-;开启共享内存大小
-shm_size=393216
+;应用配置
indlue=conf.d/*.conf