From 27993a8c645a173a6e1b7ec28de3e4e7987c9e73 Mon Sep 17 00:00:00 2001 From: Cristiano Urban Date: Thu, 7 Oct 2021 14:38:33 +0200 Subject: [PATCH] Minor changes. Signed-off-by: Cristiano Urban --- transfer_service/config/vos_ts.conf.sample | 2 +- transfer_service/db_connector.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/transfer_service/config/vos_ts.conf.sample b/transfer_service/config/vos_ts.conf.sample index 2ef9859..b742294 100644 --- a/transfer_service/config/vos_ts.conf.sample +++ b/transfer_service/config/vos_ts.conf.sample @@ -24,7 +24,7 @@ password = postgres # Redis [job_cache] ; hostname or IP address of the machine that hosts the Redis cache system -host = job_cache +host = localhost ; port at which the cache service is available, default is 6379 TCP port = 6379 ; db index representing the db that stores the scheduling queues, default is 0 diff --git a/transfer_service/db_connector.py b/transfer_service/db_connector.py index 3817c6f..d8080af 100644 --- a/transfer_service/db_connector.py +++ b/transfer_service/db_connector.py @@ -12,7 +12,6 @@ import psycopg2 import sys import time -from contextlib import contextmanager from psycopg2.extras import RealDictCursor from psycopg2.pool import ThreadedConnectionPool -- GitLab