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:
parent
df79a9a1a5
commit
b8596d311f
@ -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>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user