Skip to content

Conversation

@idilhaq
Copy link

@idilhaq idilhaq commented Mar 25, 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 audit log by applying go concurrency when sending the message through audit logger

@idilhaq idilhaq force-pushed the sending-log-async branch from 23eeebf to e214d50 Compare June 3, 2024 09:41
@rahmatrhd rahmatrhd merged commit 133300f into main Jun 4, 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.

3 participants