[Tickets #12571] Horde_Db sqlite driver: Increase busy timeout

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Aug 14 07:51:34 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12571
------------------------------------------------------------------------------
  Ticket             | 12571
  Created By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | Horde_Db sqlite driver: Increase busy timeout
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2013-08-14 07:51) wrote:

Hi,

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




Thomas Jarosch <thomas.jarosch at intra2net.com> (2013-08-14 07:51)  
uploaded: 0001-Increase-sqlite-busy-timeout-to-five-minutes.patch

http://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=0001-Increase-sqlite-busy-timeout-to-five-minutes.patch&ticket=12571&fn=%2F0001-Increase-sqlite-busy-timeout-to-five-minutes.patch





More information about the bugs mailing list