[FEAT MERGE] Add anti-fallback checks for the memory of 500 tenant
This commit is contained in:
2
deps/oblib/src/lib/thread/thread_mgr.cpp
vendored
2
deps/oblib/src/lib/thread/thread_mgr.cpp
vendored
@ -46,7 +46,7 @@ void lib_init_create_func()
|
||||
{
|
||||
#define TG_DEF(id, name, desc, scope, type, args...) \
|
||||
create_funcs_[TGDefIDs::id] = []() { \
|
||||
auto ret = OB_NEW(TGCLSMap<TGType::type>::CLS, "tg", args); \
|
||||
auto ret = OB_NEW(TGCLSMap<TGType::type>::CLS, SET_USE_500("tg"), args); \
|
||||
ret->attr_ = {#name, desc, TGScope::scope, TGType::type}; \
|
||||
return ret; \
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user