From 5eecae888991f28212bc58e4bab2898bb34d2d37 Mon Sep 17 00:00:00 2001 From: Job Evers-Meltzer Date: Wed, 21 Dec 2016 12:59:52 -0800 Subject: [PATCH] record server startup event as part of start_server --- lbrynet/lbrynet_daemon/DaemonControl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/lbrynet_daemon/DaemonControl.py b/lbrynet/lbrynet_daemon/DaemonControl.py index 1d448ed3d..fff5aee81 100644 --- a/lbrynet/lbrynet_daemon/DaemonControl.py +++ b/lbrynet/lbrynet_daemon/DaemonControl.py @@ -97,7 +97,6 @@ def start(): if test_internet_connection(): analytics_manager = analytics.Manager.new_instance() - analytics_manager.send_server_startup() start_server_and_listen(args.launchui, args.useauth, analytics_manager) reactor.run() @@ -130,6 +129,7 @@ def start_server_and_listen(launchui, use_auth, analytics_manager): use_auth: set to true to enable http authentication analytics_manager: to send analytics """ + analytics_manager.send_server_startup() try: daemon_server = DaemonServer(analytics_manager) yield daemon_server.start(use_auth)