< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index |
Expired contacts are removed via the RegistrationPersistenceManager::removeContact
interface. If you are using the ServerRegistration classes, then DUM only
cleans up expired registered contacts when a new registration is formed for a particular
aor (see code in ServerRegistration::accept). If you are using
repro then the registrations are also cleaned out of the in memory database
when: 1.
Someone routes a message to the AOR, and an expired contact is
detected: LocationServer::process 2.
Someone views the registrations web page, and an expired contact
is detected: WebAdmin::buildRegistrationsSubPage To get cleanup to happen in a more timely fashion, it would be
possible to build logic that would: 1.
Fire a timer when a contact is supposed to expire, and clean it
up immediately. 2.
Fire a single timer periodically that would remove all expired
contacts since the last run. Scott From:
resiprocate-devel-bounces@xxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Archana Hi
All, I
see findNotExpired() is used to find if the entry is expired for particular
AOR. But don't see any function which will go thr' all the entries and removes
the expired ones. Thanks, Archana |