aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/doc/src
diff options
context:
space:
mode:
authorStefan Strigler <[email protected]>2015-07-02 14:07:31 +0200
committerStefan Strigler <[email protected]>2015-07-02 16:36:39 +0200
commit1aab177fecf6784769cf7f44e8e8d3f7ca908d44 (patch)
tree1ed107c780033377b216091ea8fbc31a2f7df8cc /lib/odbc/doc/src
parentc95f0a64e5189ad1240fc547fcd774fe60f414a2 (diff)
downloadotp-1aab177fecf6784769cf7f44e8e8d3f7ca908d44.tar.gz
otp-1aab177fecf6784769cf7f44e8e8d3f7ca908d44.tar.bz2
otp-1aab177fecf6784769cf7f44e8e8d3f7ca908d44.zip
add doc for odbc port_timeout
Diffstat (limited to 'lib/odbc/doc/src')
-rw-r--r--lib/odbc/doc/src/odbc.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/odbc/doc/src/odbc.xml b/lib/odbc/doc/src/odbc.xml
index 01bc0cb7ff..6a2a3587e4 100644
--- a/lib/odbc/doc/src/odbc.xml
+++ b/lib/odbc/doc/src/odbc.xml
@@ -221,6 +221,18 @@
and their meanings are dependent on the database being used.</item>
<item><c>Reason</c> is as per the <c>Reason</c> field when extended errors are not enabled.</item>
</list>
+
+ <note>
+ <p>The current implementation spawns a port programm
+ written in C that utilizes the actual ODBC driver. There
+ is a default timeout of 5000 msec for this port programm
+ to connect to the Erlang ODBC application. This timeout
+ can be changed by setting an application specific
+ environment variable 'port_timeout' with the number of
+ milliseconds for the ODBC application. E.g.: [{odbc,
+ [{port_timeout, 60000}]}] to set it to 60 seconds.
+ </p>
+ </note>
</desc>
</func>
<func>