aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-03-10 17:09:55 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-04-02 17:14:21 +0100
commit46300feaf7481ef4dac67ee312becf856c184135 (patch)
tree7e9fd914ca30bc47f9ed2309c37ed143f56e768c /perllib/FixMyStreet.pm
parent1f0473c9844b6e32338d1c1af6e368f3387e8890 (diff)
Parallelize fetching updates.
Allow a configurable number of bodies to fetch updates simultaneously.
Diffstat (limited to 'perllib/FixMyStreet.pm')
-rw-r--r--perllib/FixMyStreet.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet.pm b/perllib/FixMyStreet.pm
index f6a69928b..94ba7685f 100644
--- a/perllib/FixMyStreet.pm
+++ b/perllib/FixMyStreet.pm
@@ -154,6 +154,7 @@ sub dbic_connect_info {
my $dbi_args = {
AutoCommit => 1,
+ AutoInactiveDestroy => 1,
};
my $local_time_zone = local_time_zone();
my $dbic_args = {