[OpenSIPS-Devel] [OpenSIPS/opensips] f2286d: When updating the database records, first perform ...
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Mar 10 22:25:50 CET 2014
Branch: refs/heads/1.9
Home: https://github.com/OpenSIPS/opensips
Commit: f2286d37c6b76ab807f38ea213b448c7e7eecc99
https://github.com/OpenSIPS/opensips/commit/f2286d37c6b76ab807f38ea213b448c7e7eecc99
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2014-03-10 (Mon, 10 Mar 2014)
Changed paths:
M modules/presence/subscribe.c
Log Message:
-----------
When updating the database records, first perform all update and inserts and then check the timeout for expired records -> records to be deleted.
Doing first the delete may hide records "expired but to be updated".
Credits go to Nick Altmann
Closes bug #112.
(cherry picked from commit 3c1164a012204e92150c5df5101aba709e4cb123)
(cherry picked from commit 916f3eec56255bff911ba6e11b1565702ea401af)
More information about the Devel
mailing list