fix(PortProxy): Increased default maxConnectionLifetime for PortProxy to 600000 ms

This commit is contained in:
Philipp Kunz 2025-02-26 12:56:00 +00:00
parent 07a82a09be
commit 3bd7b70c19
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
# Changelog # Changelog
## 2025-02-26 - 3.14.1 - fix(PortProxy)
Increased default maxConnectionLifetime for PortProxy to 600000 ms
- Updated PortProxy settings to extend default maxConnectionLifetime to 10 minutes.
## 2025-02-26 - 3.14.0 - feat(PortProxy) ## 2025-02-26 - 3.14.0 - feat(PortProxy)
Introduce max connection lifetime feature Introduce max connection lifetime feature

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartproxy', name: '@push.rocks/smartproxy',
version: '3.14.0', version: '3.14.1',
description: 'A robust and versatile proxy package designed to handle high workloads, offering features like SSL redirection, port proxying, WebSocket support, and customizable routing and authentication.' description: 'A robust and versatile proxy package designed to handle high workloads, offering features like SSL redirection, port proxying, WebSocket support, and customizable routing and authentication.'
} }

View File

@ -108,7 +108,7 @@ export class PortProxy {
this.settings = { this.settings = {
...settingsArg, ...settingsArg,
toHost: settingsArg.toHost || 'localhost', toHost: settingsArg.toHost || 'localhost',
maxConnectionLifetime: settingsArg.maxConnectionLifetime || 10000, maxConnectionLifetime: settingsArg.maxConnectionLifetime || 600000,
}; };
} }