[asterisk-dev] [Code Review] Rate limit astdb->sync() calls
Russell Bryant
russell at digium.com
Tue Sep 7 13:35:59 CDT 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/825/
-----------------------------------------------------------
Review request for Asterisk Developers.
Summary
-------
There has been a discussion going on about astdb performance on the -dev list. This patch implements rate limiting on astdb->sync() executions. It will ensure that it will not get called any more often than twice a second. It is being posted here so that it can be tested to see if it makes a difference in the test scenario.
Diffs
-----
/trunk/include/asterisk/channel.h 280549
Diff: https://reviewboard.asterisk.org/r/825/diff
Testing
-------
I have not tested this. I'm posting it here in hopes that Stefan Schmidt will be able to test this and compare it against the results he got before.
Thanks,
Russell
More information about the asterisk-dev
mailing list