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

limits support for target.smtp #757

Open
foxcpp opened this issue Feb 8, 2025 · 2 comments
Open

limits support for target.smtp #757

foxcpp opened this issue Feb 8, 2025 · 2 comments
Assignees
Labels
good first issue Easy to do, good for newcomers. new feature New feature.

Comments

@foxcpp
Copy link
Owner

foxcpp commented Feb 8, 2025

Use case

Forwarding messages to external systems with ratelimits.

Your idea for a solution

Add limits to target.smtp - the code will be very similar to target.remote.

As an alternative consider implementing target-agnostic "target.limited" wrapper.

Consider interaction with target.queue - might be a good idea to skip increasing retries if delivery fails due to timeout waiting on limits.

@foxcpp foxcpp added new feature New feature. good first issue Easy to do, good for newcomers. labels Feb 8, 2025
@Mughees2001
Copy link

Please assign this to me. I would like to work on it

@foxcpp
Copy link
Owner Author

foxcpp commented Feb 9, 2025

Done)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Easy to do, good for newcomers. new feature New feature.
Projects
None yet
Development

No branches or pull requests

2 participants