fix: update @push.rocks/smartproxy to version 19.6.1 and improve socket management in ConnectionManager

feat: enhance MetricsManager with reset interval and top domains tracking
This commit is contained in:
2025-06-09 17:18:50 +00:00
parent 93995d5031
commit 02dd3c77b5
5 changed files with 60 additions and 19 deletions

View File

@ -221,12 +221,13 @@ export class MultiModeDeliverySystem extends EventEmitter {
const checkInterval = setInterval(() => {
if (this.activeDeliveries.size === 0) {
clearInterval(checkInterval);
clearTimeout(forceTimeout);
resolve();
}
}, 1000);
// Force resolve after 30 seconds
setTimeout(() => {
const forceTimeout = setTimeout(() => {
clearInterval(checkInterval);
resolve();
}, 30000);