Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions talker/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ def redis_params(self):
port=int(self._port)
)

@property
def name(self):
return self._name

@cached_property
def redis(self):
"""
Expand Down
1 change: 1 addition & 0 deletions talker/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ def check_client_timeout(self):
exception_cls = TalkerCommandLost if talker_alive else TalkerServerTimeout
self.raise_exception(exception_cls=exception_cls, timeout=self.ack_timer.elapsed)
elif self.client_timer.expired:
_verbose_logger.debug("Client command timeout (%s)", self)
self.raise_exception(
exception_cls=ClientCommandTimeoutError, timeout=self.ack_timer.elapsed, started=self.since_started
)
Expand Down
2 changes: 2 additions & 0 deletions talker/reactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ def _send_data(self, items):
for item in items:
redis_func = getattr(pipeline, item.cmd)
redis_func(*item.args, **item.kwargs)
_verbose_logger.debug(
'Executing talker %s redis %s pipeline', self.talker.name, self.talker.redis_params['host'])
results = pipeline.execute()
assert len(results) == len(items), "Our redis pipeline got out of sync?"
self._log_sent_items(items) # logs to debug WEKAPP-35305
Expand Down