[FEAT MERGE] Add anti-fallback checks for the memory of 500 tenant

This commit is contained in:
obdev
2023-04-25 02:41:25 +00:00
committed by ob-robot
parent c317071f7e
commit fdcaa9a932
135 changed files with 936 additions and 660 deletions

View File

@ -34,7 +34,7 @@ void ob_init_create_func()
{
#define TG_DEF(id, name, desc, scope, type, args...) \
lib::create_funcs_[lib::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; \
};