Remove rm -rf of MapRuleStat_boost.mmap on startup

Dynamic shared-memory vectors no longer cause segfaults from
unbounded growth, so the brute-force file deletion on every
start is unnecessary. Consistent with e21b2af which removed
the same pattern for TaskData_boost.mmap.
This commit is contained in:
Huamonarch 2026-05-13 09:47:52 +08:00
parent df79a9a1a5
commit b8596d311f

View File

@ -20,8 +20,6 @@ eqpalg::~eqpalg() {
}
int eqpalg::start() {
string ss0 = "rm -rf /users/dsc/shm/MapRuleStat_boost.mmap";
system(ss0.c_str());
logger_->Info() << "start eqpalg." << endl;
// 启动ConnectionMag这个一定不要去除否则内部很多邹师傅写的库都无法正常工作
con_mag_ = std::make_shared<ConnectionMag>();