mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
feat: #9135, don't try to reconnect forever
This commit is contained in:
@@ -49,8 +49,8 @@ apiController.loadConfig = async function (req) {
|
||||
socketioTransports,
|
||||
socketioOrigins,
|
||||
websocketAddress,
|
||||
maxReconnectionAttempts: meta.config.maxReconnectionAttempts || 5,
|
||||
reconnectionDelay: meta.config.reconnectionDelay || 1500,
|
||||
maxReconnectionAttempts: meta.config.maxReconnectionAttempts,
|
||||
reconnectionDelay: meta.config.reconnectionDelay,
|
||||
topicsPerPage: meta.config.topicsPerPage || 20,
|
||||
postsPerPage: meta.config.postsPerPage || 20,
|
||||
maximumFileSize: meta.config.maximumFileSize,
|
||||
|
||||
Reference in New Issue
Block a user