Skip to content

Commit

Permalink
Fix greenstalk 2 Client signature issue
Browse files Browse the repository at this point in the history
  • Loading branch information
obscurerichard committed Dec 31, 2024
1 parent cbba3ca commit 44e8947
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion freezing/nq/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def publish_message(self, message: Any, dest: DefinedTubes):
:param message: A message object that can be serialized with json.dumps()
"""
queue = greenstalk.Client(host=self.host, port=self.port, use=dest.value)
queue = greenstalk.Client((self.host, self.port), use=dest.value)
try:
queue.put(self.serialize_message(message))
except Exception as ex:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "freezing-nq"
version = "0.4.2"
version = "0.4.3"
description = "Freezing Saddles activity receive and enqueue worker"
readme = "README.md"
authors = [
Expand Down

0 comments on commit 44e8947

Please sign in to comment.