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

feat(log): sending audit log concurrently #140

Merged
merged 6 commits into from
Jun 4, 2024
Merged

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

@rahmatrhd rahmatrhd merged commit 133300f into main Jun 4, 2024
9 checks passed
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.

None yet

2 participants