Skip to content

Commit 1112fb7

Browse files
authored
Merge pull request #89 from IBM/federated_gateway_health_bug
minor bug in gateway health check
2 parents 93b3dd4 + f6bd0a1 commit 1112fb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mcpgateway/services/gateway_service.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ def __init__(self):
118118
self._redis_client = None
119119
self._lock_path = settings.filelock_path
120120
self._file_lock = FileLock(self._lock_path)
121+
else:
122+
self._redis_client = None
121123

122124
async def initialize(self) -> None:
123125
"""Initialize the service and start health check if this instance is the leader."""

0 commit comments

Comments
 (0)