Skip to content

Commit 16d1879

Browse files
committed
Increase secure session pool size to 4096
Increase the maximum amount of secure sessions to 4 times the device limit. This allows to have multiple sessions per device (if required) or multiple fabrics of up to 1024 devices. The size of a secure session is currently 264 bytes, so this will increase memory usage by about 1MB.
1 parent 9e556ab commit 16d1879

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CHIPProjectConfig.h

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
// Home Assistant Python Matter server specific configs
6060
#define CHIP_EXCHANGE_NODE_ID_LOGGING 1
6161
#define CHIP_CONFIG_CONTROLLER_MAX_ACTIVE_DEVICES 1024
62+
#define CHIP_CONFIG_CONTROLLER_MAX_ACTIVE_CASE_CLIENTS 32
6263
#define CHIP_CONFIG_MAX_EXCHANGE_CONTEXTS 192
64+
#define CHIP_CONFIG_SECURE_SESSION_POOL_SIZE 4096
6365

6466
#endif /* CHIPPROJECTCONFIG_H */

0 commit comments

Comments
 (0)