Commit 201c4ee
authored
65 feat/rate limiting and scheduling (#73)
* feat: add mail processor that gets triggered every 30 secs
* feat: create background process for sending queued mails
* fix: resolve the problem with the auto-refetching of the campaign after campaign creation with no campaigns prior
* feat: add enqueue for the emails sent with smtp server and minor UI fixes on sidebar
* feat: create migration file that adds rate_limit col
* feat: add rate-limiting for sending the mail from the queue using both smtp server and aws client
* feat:
update email delivery, bounce, open, and click rates tracking for the mails sent from the AWS server as use of rate-limiting
write test for the rate_limiting
refactor the mail_service.rs file
* fix: add the missing rate_limit field in server struct and its test files:
* fix: add the missing input field for the rate_limit on the server Form and fix the default values for the deafault_value and rate_limit input fields
* fix: refactor the rate limiting assertions1 parent 295dedf commit 201c4ee
File tree
46 files changed
+1051
-293
lines changed- backend
- migrations
- 2025-04-22-082248_add_additional_fields_to_mail_for_queueing
- 2025-04-24-050126_add__rate_limit__column
- src
- handlers
- models
- repositories
- routes
- servers
- services
- utils
- tests
- frontend
- app
- dashboard
- campaigns/[id]/analytics
- contacts/[id]/mails
- servers
- _components
- _constants
- services
- components
- hooks
- lib
- type
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
46 files changed
+1051
-293
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments