]> xenbits.xensource.com Git - osstest.git/commit
standalone: Set very long SQLite3 busy timeout in Perl
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 15 Sep 2015 17:24:17 +0000 (18:24 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 18 Sep 2015 11:37:30 +0000 (12:37 +0100)
commit54b0e5d68c1f1b132f55f87b110b518b4a84f72b
tree809b4739e5abc531339f3817289e69937a3da0ac
parent8df93ae61b1137dae5bcf29aaf4f7d7e431a62c7
standalone: Set very long SQLite3 busy timeout in Perl

Without this, big standalone-generate-dump-flight-runvars jobs may
trying to serialise so much work that SQLite3 times out.  And we are
about to introduce an optimisation which makes this much more likely.

In standalone mode we probably don't care much about this timeout at
all.  (It might even be that the user is using sqlite(3) and has
effectively locked the database interactively for an extended period.)

We would prefer to rely on the user to stop anything that seems to
have become stuck.  So set the timeout to 10ks.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Osstest/JobDB/Standalone.pm