summaryrefslogtreecommitdiff
path: root/scripts/profiling
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-08-09 14:39:11 -0400
committerKali Kaneko <kali@leap.se>2015-08-11 15:22:23 -0400
commitd41aad86c8ec1b071b09feaa61a04bf3dc3d5b90 (patch)
tree3f1d084a65e1f3212351f43c2527e03ebde45c4f /scripts/profiling
parent79b3b48170aed5d975b8e664eb85b2a99ca578f6 (diff)
[bug] disable events on profiling
Diffstat (limited to 'scripts/profiling')
-rwxr-xr-xscripts/profiling/sync/profile-sync.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/profiling/sync/profile-sync.py b/scripts/profiling/sync/profile-sync.py
index 6c8d249e..fb887588 100755
--- a/scripts/profiling/sync/profile-sync.py
+++ b/scripts/profiling/sync/profile-sync.py
@@ -11,6 +11,9 @@ from twisted.internet import reactor
from util import StatsLogger, ValidateUserHandle
from client_side_db import _get_soledad_instance, _get_soledad_info
+from leap.common.events import flags
+
+flags.set_events_enabled(False)
# create a logger