Skip to content

Commit

Permalink
Increase session pool size on Darwin so we don't run out of sessions. (
Browse files Browse the repository at this point in the history
…#20086)

We want to have enough sessions for all the subscriptions we will want
to have.
  • Loading branch information
bzbarsky-apple authored Jun 29, 2022
1 parent b91727b commit a0a5c10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/ios/CHIPProjectConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit a0a5c10

Please sign in to comment.