EOX GitLab Instance

Commit 84f9263e authored by Bernhard Mallinger's avatar Bernhard Mallinger
Browse files

Fix type error (port must be an integer)

parent f60fc52a
Pipeline #18436 passed with stage
in 16 seconds
...@@ -12,7 +12,7 @@ def trigger_queue(name: str, client: redis.Redis, queue: str): ...@@ -12,7 +12,7 @@ def trigger_queue(name: str, client: redis.Redis, queue: str):
client.lpush(queue, name) client.lpush(queue, name)
def run_daemon(config: dict, host: str, port: str): def run_daemon(config: dict, host: str, port: int):
"""Run the scheduler daemon, scheduling signals to send to other services""" """Run the scheduler daemon, scheduling signals to send to other services"""
# initialize the queue client # initialize the queue client
client = redis.Redis(host=host, port=port, charset="utf-8", decode_responses=True) client = redis.Redis(host=host, port=port, charset="utf-8", decode_responses=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment