diff options
-rw-r--r-- | fietsboek/scripts/fietscron.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fietsboek/scripts/fietscron.py b/fietsboek/scripts/fietscron.py index 897078c..f0dc438 100644 --- a/fietsboek/scripts/fietscron.py +++ b/fietsboek/scripts/fietscron.py @@ -109,11 +109,11 @@ def run_hittekaart(engine: Engine, data_manager: DataManager, redis: Redis, conf break user = session.execute(select(models.User).filter_by(id=int(item))).scalar() if user is None: - LOGGER.debug("User %d had a queue entry but was not found", item) + LOGGER.debug("User %d had a high-priority queue entry but was not found", item) break for mode in modes: - LOGGER.info("Generating %s for user %d", mode.value, user.id) + LOGGER.info("Generating %s for user %d (high-priority)", mode.value, user.id) hittekaart.generate_for(user, session, data_manager, mode, exe_path=exe_path) if had_hq_item: @@ -130,11 +130,11 @@ def run_hittekaart(engine: Engine, data_manager: DataManager, redis: Redis, conf user = session.execute(select(models.User).filter_by(id=int(item))).scalar() if user is None: - LOGGER.debug("User %d had a queue entry but was not found", item) + LOGGER.debug("User %d had a low-priority queue entry but was not found", item) return for mode in modes: - LOGGER.info("Generating %s for user %d", mode.value, user.id) + LOGGER.info("Generating %s for user %d (low-priority)", mode.value, user.id) hittekaart.generate_for(user, session, data_manager, mode, exe_path=exe_path) |