Skip to content

DiagnosticPublisher drops messages #334

Description

@pavel-kirienko

This logic causes messages that follow back-to-back to be dropped:

# Further, unconditionally drop all messages while publishing is in progress for the same reason.
# This logic may need to be reviewed later.
if self._fut is not None and self._fut.done():
self._fut.result()
self._fut = None
dcs_rec = DiagnosticPublisher.log_record_to_diagnostic_message(record, self._forward_timestamp)
if self._fut is None:
self._fut = asyncio.ensure_future(self._publish(dcs_rec))
else:
# DROPPED
pass

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions