diff --git a/src/octoprint/plugins/softwareupdate/__init__.py b/src/octoprint/plugins/softwareupdate/__init__.py index 23d9fa9f2..863c67b0b 100644 --- a/src/octoprint/plugins/softwareupdate/__init__.py +++ b/src/octoprint/plugins/softwareupdate/__init__.py @@ -99,15 +99,8 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin, self._console_logger.propagate = False def on_after_startup(self): - # refresh cache now if necessary so it's faster once the user connects to the instance - but decouple it from - # the server startup - def fetch_data(): - self.get_current_versions() - self._check_environment() - - thread = threading.Thread(target=fetch_data) - thread.daemon = True - thread.start() + self._check_environment() + self.get_current_versions() def _get_configured_checks(self): with self._configured_checks_mutex: