Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt
2025-06-20 18:58:12 +02:00
parent 8554a8e0c5
commit e634f23fc8
2 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,6 @@ def _set_prom_info():
@actor(description=_("Update latest version info"))
def update_latest_version():
self: Task = CurrentTask.get_task()
raise RuntimeError("whatever")
if CONFIG.get_bool("disable_update_check"):
cache.set(VERSION_CACHE_KEY, VERSION_NULL, VERSION_CACHE_TIMEOUT)
self.info("Version check disabled.")

View File

@ -49,6 +49,7 @@ class LoggingMiddleware(Middleware):
task: Task = message.options["task"]
task.log(str(type(self)), TaskStatus.INFO, "Task is being processed")
# TODO: also after_skip_message
def after_process_message(
self,
broker: Broker,