mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
add support for running in AWS autoscale cluster with graceful scale-in and standby
This commit is contained in:
@@ -44,6 +44,7 @@ class SessionTracker extends Emitter {
|
||||
assert(callSid);
|
||||
this.sessions.delete(callSid);
|
||||
this.logger.info(`SessionTracker:remove callSid ${callSid}, we have ${this.sessions.size} being tracked`);
|
||||
if (0 === this.sessions.size) this.emit('idle');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user