update jobs only once
This commit is contained in:
parent
b509ce16e3
commit
7347fe9bc8
|
@ -120,17 +120,6 @@ class JobScheduler(ApiCaller):
|
|||
)
|
||||
success = False
|
||||
|
||||
err = self.__db.update_job(plugin, name, success)
|
||||
|
||||
if not err:
|
||||
self.__logger.info(
|
||||
f"Successfully updated database for the job {name} from plugin {plugin}",
|
||||
)
|
||||
else:
|
||||
self.__logger.warning(
|
||||
f"Failed to update database for the job {name} from plugin {plugin}: {err}",
|
||||
)
|
||||
|
||||
return success
|
||||
|
||||
def setup(self):
|
||||
|
|
Loading…
Reference in New Issue