fix(PortProxy): Adjust inactivity threshold to a random value between 20 and 30 minutes for better variability
This commit is contained in:
@@ -1211,7 +1211,7 @@ export class PortProxy {
|
||||
// Skip inactivity check if disabled
|
||||
if (!this.settings.disableInactivityCheck) {
|
||||
// Inactivity check - use protocol-specific values
|
||||
let inactivityThreshold = 180000; // 3 minutes default
|
||||
let inactivityThreshold = Math.floor(Math.random() * (1800000 - 1200000 + 1)) + 1200000; // random between 20 and 30 minutes
|
||||
|
||||
// Set protocol-specific inactivity thresholds
|
||||
if (record.protocolType === 'http' && record.isPooledConnection) {
|
||||
|
Reference in New Issue
Block a user