feat: #9135, don't try to reconnect forever

This commit is contained in:
Barış Soner Uşaklı
2020-12-28 11:44:14 -05:00
parent a555f02415
commit c1ecfd1ebf
5 changed files with 11 additions and 5 deletions

View File

@@ -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,