diff --git a/lbrynet/daemon/auth/server.py b/lbrynet/daemon/auth/server.py index c1aaf26a3..259baf9fd 100644 --- a/lbrynet/daemon/auth/server.py +++ b/lbrynet/daemon/auth/server.py @@ -235,6 +235,7 @@ class AuthJSONRPCServer(AuthorizedBase): reactor.addSystemEventTrigger('before', 'shutdown', self._shutdown) if not self.analytics_manager.is_started: self.analytics_manager.start() + self.analytics_manager.send_server_startup() for lc_name, lc_time in self._looping_call_times.items(): self.looping_call_manager.start(lc_name, lc_time) diff --git a/tests/integration/cli/test_cli.py b/tests/integration/cli/test_cli.py index dfbc58d40..85caf0163 100644 --- a/tests/integration/cli/test_cli.py +++ b/tests/integration/cli/test_cli.py @@ -21,6 +21,9 @@ class FakeAnalytics: def send_server_startup_success(self): pass + def send_server_startup(self): + pass + def shutdown(self): pass diff --git a/tests/integration/wallet/test_commands.py b/tests/integration/wallet/test_commands.py index a38c69af2..13f1fbd07 100644 --- a/tests/integration/wallet/test_commands.py +++ b/tests/integration/wallet/test_commands.py @@ -84,6 +84,9 @@ class FakeAnalytics: def send_credits_sent(self): pass + def send_server_startup(self): + pass + class CommandTestCase(IntegrationTestCase):