diff --git a/config/ios/CHIPProjectConfig.h b/config/ios/CHIPProjectConfig.h index 6a9d7eb3213836..dfa35f7cfd5254 100644 --- a/config/ios/CHIPProjectConfig.h +++ b/config/ios/CHIPProjectConfig.h @@ -44,4 +44,9 @@ #define CHIP_CONFIG_KVS_PATH "chip.store" #endif +// The session pool size limits how many subscriptions we can have live at +// once. Home supports up to 1000 accessories, and we subscribe to all of them, +// so we need to make sure the pool is big enough for that. +#define CHIP_CONFIG_SECURE_SESSION_POOL_SIZE 1000 + #endif /* CHIPPROJECTCONFIG_H */