From e2f25480c1eb76d52ad511c24a719f60e81a3331 Mon Sep 17 00:00:00 2001
From: Matthieu Aubry <matt@piwik.org>
Date: Mon, 2 Jun 2014 16:41:30 +1200
Subject: [PATCH] New config setting bulk_requests_use_transaction=1

; Whether Bulk tracking requests will be wrapped within a DB Transaction.
; This greatly increases performance of Log Analytics and in general any Bulk Tracking API requests.
bulk_requests_use_transaction = 1
---
 config/global.ini.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/config/global.ini.php b/config/global.ini.php
index c8eb245981..fde4eea771 100644
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -508,6 +508,10 @@ tracker_cache_file_ttl = 300
 ; Whether Bulk tracking requests to the Tracking API requires the token_auth to be set.
 bulk_requests_require_authentication = 0
 
+; Whether Bulk tracking requests will be wrapped within a DB Transaction.
+; This greatly increases performance of Log Analytics and in general any Bulk Tracking API requests.
+bulk_requests_use_transaction = 1
+
 ; Comma separated list of known Referrer Spammers, ie. bot visits that set a fake Referrer field.
 ; All Visits with a Referrer URL host set to one of these will be excluded.
 ; If you find new spam entries in Referrers>Websites, please report them here: http://dev.piwik.org/trac/ticket/5099
-- 
GitLab