From 7fe4938f9b812ec1f7a00695ba4302cd89c1ebcf Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Tue, 28 Feb 2023 10:51:14 +0100 Subject: add comments and default for timeout --- it_dbi.class | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'it_dbi.class') 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) -- cgit v1.2.3