Skip to content

Comments

perf: cache slack channel to avoid multiple calls to slack API#71

Open
scastlara wants to merge 1 commit intomainfrom
cache-slack
Open

perf: cache slack channel to avoid multiple calls to slack API#71
scastlara wants to merge 1 commit intomainfrom
cache-slack

Conversation

@scastlara
Copy link
Collaborator

In the common case, we post reports to not that many channels, but we may post several times to the same channel.

For each message we post, we are calling the findChannel api.

This PR just uses a simple service-level cache to avoid multiple unnecessary calls.

asdasd

@scastlara scastlara requested a review from sacha-c as a code owner February 19, 2026 14:24
@scastlara scastlara changed the base branch from backoff to main February 19, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant