Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relay: Add logging of when a duplicate is dropped #202

Open
Athanasius opened this issue Nov 30, 2022 · 0 comments
Open

Relay: Add logging of when a duplicate is dropped #202

Athanasius opened this issue Nov 30, 2022 · 0 comments

Comments

@Athanasius
Copy link
Contributor

I only just discovered that

self.caches[key] = datetime.utcnow()
causes 'chaining' of duplicates such that, if someone sent a relevant message often enough, another message might never come out of the Relay.

So, when checking "why didn't my message make it through?" let's add some Relay logging so it can be quickly checked. It'll be less spammy than the current 'something for every message' Gateway logging.

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

No branches or pull requests

1 participant