Summary | Horde_Db sqlite driver: Increase busy timeout |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Enhancement |
State | Feedback |
Priority | 1. Low |
Owners | |
Requester | thomas.jarosch (at) intra2net (dot) com |
Created | 08/14/2013 (4291 days ago) |
Due | |
Updated | 01/28/2016 (3394 days ago) |
Assigned | |
Resolved | |
Milestone | |
Patch | Yes |
Extend the horde DB configuration (conf.xml) to show
a busy timeout input field if the database type is 'sqlite'?
Extend the horde DB configuration (conf.xml) to show
a busy timeout input field if the database type is 'sqlite'?
State ⇒ Feedback
Priority ⇒ 1. Low
New Attachment: 0001-Increase-sqlite-busy-timeout-to-five-minutes.patch
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Horde_Db sqlite driver: Increase busy timeout
Type ⇒ Enhancement
State ⇒ New
PDO sets the default busy timeout of sqlite to 60 seconds. This is a
bit short for my taste in case the server is really busy for a moment.
Attached patch increases it to five minutes.
Dunno if there is upstream interest to integrate this patch.
Note: ATTR_TIMEOUT sets the connection timeout instead of a busy
timeout for most other PDO backend drivers (I've checked the php
sources). So let's set it for sqlite only.
Cheers,
Thomas