Module: sip-router
Branch: master
Commit: c92ec42ac07a4a000a95dcd1f3c1a349ce35ea82
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c92ec42…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Apr 14 22:37:02 2014 +0200
acc: extended documentation for db_insert_mode parameter
- if set to 2, async insert operation is used to store the acc record in
database table
---
modules/acc/README | 3 +++
modules/acc/doc/acc_admin.xml | 4 ++++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/modules/acc/README b/modules/acc/README
index da2df70..bf53f25 100644
--- a/modules/acc/README
+++ b/modules/acc/README
@@ -1113,6 +1113,9 @@ modparam("acc", "db_extra",
"ct=$hdr(Content-type); email=$avp(s:email)")
InnoDB engine doesn't support INSERT DELAYED, thus be sure the acc
tables are defined with different type (e.g., MyISAM).
+ If set to 2, async insert is used if the db driver module has support
+ for it. If not, then standard INSERT is used.
+
Default value is 0 (no INSERT DELAYED).
Example 1.32. db_insert_mode example
diff --git a/modules/acc/doc/acc_admin.xml b/modules/acc/doc/acc_admin.xml
index c59aa0e..8b5ee60 100644
--- a/modules/acc/doc/acc_admin.xml
+++ b/modules/acc/doc/acc_admin.xml
@@ -1098,6 +1098,10 @@ modparam("acc", "db_extra",
"ct=$hdr(Content-type); email=$avp(s:email)")
the acc tables are defined with different type (e.g., MyISAM).
</para>
<para>
+ If set to 2, async insert is used if the db driver module has
+ support for it. If not, then standard INSERT is used.
+ </para>
+ <para>
Default value is 0 (no INSERT DELAYED).
</para>
<example>