From e7555f04c826e65e59b7e6ff7f3858b7d94f5b73 Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期二, 01 六月 2021 17:29:49 +0800 Subject: [PATCH] trivial. --- src/defs.cpp | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/defs.cpp b/src/defs.cpp index a2f05cc..57df1bc 100644 --- a/src/defs.cpp +++ b/src/defs.cpp @@ -145,7 +145,7 @@ auto InitMQ = [&](auto &mq, auto &&id) { mq.id_ = id; - ShmSocket tmp(shm, id, 16); + ShmSocket tmp(shm, id, eOpenOrCreate); mq.offset_ = tmp.AbsAddr(); }; @@ -207,4 +207,6 @@ msg = LastErrorStore().msg_; } -int NodeTimeoutSec() { return 60; } \ No newline at end of file +int NodeTimeoutSec() { return 60; } + +std::string BHLogDir() { return "/opt/vasystem/valog/"; } -- Gitblit v1.8.0