]> git.ipfire.org Git - thirdparty/asterisk.git/commit
We have faced situation when using CDR and CEL by sqlite3 modules. With system having...
authorIgor Goncharovskiy <igor.goncharovsky@gmail.com>
Mon, 16 Jun 2014 08:52:06 +0000 (08:52 +0000)
committerIgor Goncharovskiy <igor.goncharovsky@gmail.com>
Mon, 16 Jun 2014 08:52:06 +0000 (08:52 +0000)
commitb718f91873e39e75aee91bd73d95ffb62ed38f1e
tree41e4b55813f7a0e3a190a031239c1c787f09762f
parent6b782f84b80ce7d9a19c7ed63f1c9eb4bd9d13b7
We have faced situation when using CDR and CEL by sqlite3 modules. With system having high load (~100 concurrent calls created by sipp) we found many cdr and cel records missed. There is special finction in sqlite3, that make able to fix this situation - sqlite3_wait_timeout, that also can replace awful code cdr_sqlite3 ad cel_sqlite3 modules. Also this function can be used for aastdb and res_config_sqlite3 to avoid missed writes to sqlite db.

#ASTERISK-23766 #close
Reported by: Igor Goncharovsky

Review: https://reviewboard.asterisk.org/r/3559/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@416336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
cdr/cdr_sqlite3_custom.c
cel/cel_sqlite3_custom.c