"notification" section
Since CB 20.11-LTS
A typical example
"notification" : {
"enableWebsocket" : true (default) / false,
"waitBeforeNotifyInSeconds" : 0,
"notificationThreadPoolCoreSize" : 1,
"notificationThreadPoolMaximumSize" : 1,
"notificationThreadPoolKeepAliveTimeInSeconds" : 0
}
• waitBeforeNotifyInSeconds - configure seconds before message is sent to the browser, applicable for slow instances.
• notificationThreadPoolCoreSize - core size of notification executor pool, increase if waitBeforeNotifyInSeconds is increased.
• notificationThreadPoolMaximumSize - maximum size of notification executor pool, increase if waitBeforeNotifyInSeconds is increased.
• notificationThreadPoolKeepAliveTimeInSeconds - seconds to keep alive the over core size threads.
|
Websocket keeps one connection alive per browser tab, it means if you have a proxy server with connection count limit, you need to monitor is and change it according to the usage of it
|
|
Changing notification thread pool will only take effect after restart.
|