-
Notifications
You must be signed in to change notification settings - Fork 6
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
fix: async flow and integrate prom-client #91
base: develop
Are you sure you want to change the base?
Conversation
5984aa0
to
d84c079
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Repetitive changes. Please fix and then I'll review the whole PR
@@ -129,28 +132,27 @@ class NotificationService { | |||
setting.event_type_id = event.eventTypeId | |||
setting.pipeline_id = 0 | |||
setting.config = event.payload | |||
h.sendAndLogNotification(event, sdk,setting,{"dest": "slack"}, slackTemplateConfig) | |||
}) | |||
await h.sendAndLogNotification(event, sdk,setting,{"dest": "slack"}, slackTemplateConfig) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to test if await is required everywhere as this might increase the response time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arunjaindev we still need to verify: #91 (comment)
No description provided.