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

fix: async flow and integrate prom-client #91

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from

Conversation

arunjaindev
Copy link

No description provided.

@arunjaindev arunjaindev changed the base branch from develop to main October 22, 2024 06:14
@arunjaindev arunjaindev changed the base branch from main to develop October 22, 2024 06:15
src/server.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@eshankvaish eshankvaish left a 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

src/destination/destinationHandlers/sesHandler.ts Outdated Show resolved Hide resolved
src/destination/destinationHandlers/sesHandler.ts Outdated Show resolved Hide resolved
src/destination/destinationHandlers/slackHandler.ts Outdated Show resolved Hide resolved
src/server.ts Show resolved Hide resolved
src/server.ts Outdated Show resolved Hide resolved
src/pubSub/pubSub.ts Show resolved Hide resolved
@@ -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)
Copy link
Contributor

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

src/common/metrics.ts Outdated Show resolved Hide resolved
eshankvaish
eshankvaish previously approved these changes Oct 25, 2024
Copy link
Contributor

@eshankvaish eshankvaish left a 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)

@arunjaindev arunjaindev changed the title fix: async flow fix: async flow and integrate prom-client Oct 29, 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