Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jindaxia committed Jan 9, 2023
1 parent 390f9c1 commit 71bb751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion celery/backends/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ def _get_sentinel_instance(self, **params):

hosts = connparams.pop("hosts")
min_other_sentinels = self._transport_options.get("min_other_sentinels", 0)
sentinel_kwargs = self._transport_options.get("sentinel_kwargs", {})
sentinel_kwargs = self._transport_options.get("sentinel_kwargs", None)

sentinel_instance = self.sentinel.Sentinel(
[(cp['host'], cp['port']) for cp in hosts],
Expand Down

0 comments on commit 71bb751

Please sign in to comment.