diff --git a/helm/passbook/templates/passbook-configmap.yaml b/helm/passbook/templates/passbook-configmap.yaml index 1c9a3fe1c..26618935a 100644 --- a/helm/passbook/templates/passbook-configmap.yaml +++ b/helm/passbook/templates/passbook-configmap.yaml @@ -15,8 +15,8 @@ data: port: '' log: level: - console: DEBUG - file: DEBUG + console: WARNING + file: WARNING file: /dev/null syslog: host: 127.0.0.1 diff --git a/passbook/core/tasks.py b/passbook/core/tasks.py index 0b691ce2a..e7339c46b 100644 --- a/passbook/core/tasks.py +++ b/passbook/core/tasks.py @@ -24,5 +24,5 @@ def send_email(to_address, subject, template, context): @CELERY_APP.task() def clean_nonces(): """Remove expired nonces""" - amount = Nonce.objects.filter(expires__lt=datetime.now(), expiring=True).delete() + amount, _ = Nonce.objects.filter(expires__lt=datetime.now(), expiring=True).delete() LOGGER.debug("Deleted expired %d nonces", amount)