일단 동기화

This commit is contained in:
2025-05-07 16:52:45 +09:00
parent 993d41736d
commit 46abb2b2b9
3 changed files with 22 additions and 2 deletions

View File

@@ -14,6 +14,11 @@ public:
template<typename _Callable>
void init(_Callable _IOCPClient) {
roomNames_ = std::future<std::unordered_map<Snowflake, std::string>>();
findRoomId_ = std::future<std::unordered_map<std::string, Snowflake>>();
userNames_ = std::future<std::unordered_map<Snowflake, std::string>>();
findUserId_ = std::future<std::unordered_map<std::string, Snowflake>>();
auto config = ConfigManager::load();
log::setDefaultLogger(config.logLevel, config.logFileName, config.logfileSize, config.logfileCount);
threadPool_.init(0);