Skip to content

Conversation

@idilhaq
Copy link

@idilhaq idilhaq commented Mar 18, 2024

Summary
Sending notifications should be not be part of sync call as part of create appeal or update approval. For both these steps, audit log and sending notifications need not be part of synchronous call one by one since that would increase the entire time of the appeal flow. These two can be run concurrently.
Please refer to the issue #84 for the discussion.

Approach
Making the call async for slack notification by applying go concurrency when sending the message through notifier

@idilhaq idilhaq linked an issue Mar 18, 2024 that may be closed by this pull request
@idilhaq idilhaq force-pushed the sending-notif-async branch from 876c051 to c090e7e Compare March 19, 2024 05:30
@idilhaq idilhaq force-pushed the sending-notif-async branch 4 times, most recently from c679082 to 76e7459 Compare March 20, 2024 09:43
@idilhaq idilhaq changed the title feat: sending notification concurrently feat(notifier): sending notification concurrently Mar 22, 2024
@rahmatrhd rahmatrhd added this to the v0.9.2 milestone Mar 25, 2024
@idilhaq idilhaq force-pushed the sending-notif-async branch from 76e7459 to 1871431 Compare April 1, 2024 15:40
@rahmatrhd rahmatrhd modified the milestones: v0.9.2, v0.10.0 Apr 24, 2024
@idilhaq idilhaq force-pushed the sending-notif-async branch 6 times, most recently from 679f8ed to 43b04f5 Compare April 26, 2024 08:04
@rahmatrhd rahmatrhd removed this from the v0.10.0 milestone May 2, 2024
@idilhaq idilhaq force-pushed the sending-notif-async branch from 57d41ab to 08da75f Compare May 27, 2024 05:23
@idilhaq idilhaq force-pushed the sending-notif-async branch from 08da75f to 21554ec Compare May 28, 2024 09:23
@rahmatrhd rahmatrhd merged commit 457de70 into main Jun 3, 2024
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.

sending notifications should be not be part of sync call

3 participants