[OpenSIPS-Devel] [OpenSIPS/opensips] f30166: registrar/mid-registrar: Add the "expires_max_devi...
Liviu Chircu
noreply at github.com
Fri Mar 25 18:01:36 UTC 2022
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: f301667b37fee847bd7e232a1064acb2adf13c25
https://github.com/OpenSIPS/opensips/commit/f301667b37fee847bd7e232a1064acb2adf13c25
Author: Liviu Chircu <liviu at opensips.org>
Date: 2022-03-25 (Fri, 25 Mar 2022)
Changed paths:
M lib/reg/ci.c
M lib/reg/common.c
M lib/reg/common.h
M lib/reg/doc/reg_modparams.xml
M modules/mid_registrar/save.c
Log Message:
-----------
registrar/mid-registrar: Add the "expires_max_deviation" modparam
This new modparam could help mitigate the effects of post-restart
"registration storms", when all TCP connections go down and a
significant portion of devices re-REGISTER on the spot.
By randomizing the returned expiry intervals, the REGISTER storm will no
longer repeat at regular intervals following a restart, e.g. every 3600
seconds.
More information about the Devel
mailing list