summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
authorNathan Gass2023-02-28 10:51:14 +0100
committerNathan Gass2023-02-28 10:51:14 +0100
commit7fe4938f9b812ec1f7a00695ba4302cd89c1ebcf (patch)
tree63f6221d76d66714b168efbf3720ae212459bcf4 /it_dbi.class
parent30e1fa9a9c655b75243ece71f37bfda9f1ae489b (diff)
downloaditools-7fe4938f9b812ec1f7a00695ba4302cd89c1ebcf.tar.gz
itools-7fe4938f9b812ec1f7a00695ba4302cd89c1ebcf.tar.bz2
itools-7fe4938f9b812ec1f7a00695ba4302cd89c1ebcf.zip
add comments and default for timeout
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class3
1 files changed, 2 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 49d2ae2..b365f59 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -43,7 +43,8 @@ class it_dbi
'throttle_writes' => 0, # sleep for 'throttle_writes' multiplied by the execution time after every write
'unbuffered' => false, # use MYSQLI_USE_RESULT (WARNING this is not at all equivalent to normal it_dbi WARNING)
'ignored_warnings' => "", # regex of additional mysql warnings numbers to ignore
- 'interruptible_queries' => false,
+ 'interruptible_queries' => false, # make queries interruptible by php signal handlers
+ 'timeout' => null, # timeout for queries
);
var $_key; # Key of currently loaded record or null (public readonly)