cli: Replace scheduler temporary backend by memory one

Scheduler temporary backend has been removed in favor of a
more efficient memory backend.
This commit is contained in:
Antoine Lambert 2024-12-11 12:02:46 +01:00
parent 63ca5b50a0
commit fc98bc1035
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 The Software Heritage developers
# Copyright (C) 2018-2024 The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
@ -72,10 +72,10 @@ def run(ctx, lister, options):
if "scheduler" not in config:
logger.warning(
"No scheduler configuration detected, using a temporary instance "
"with postgresql backend instead."
"with a memory backend instead."
)
config["scheduler"] = {"cls": "temporary"}
config["scheduler"] = {"cls": "memory"}
print(get_lister(lister, **config).run())