foxcpp / foxcpp/maddy

limits support for target.smtp

オープン
#757 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
good first issue new feature
主要言語
Go
スター
6.1k
フォーク
327
PR マージ指標
30日以内にマージされた PR はありません

説明

# 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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、既存の target.remote のレート制限動作を target.smtp と比較し、次に target.queue が配信リトライをどのように処理するかを調べます。SMTP 固有の制限と target.limited ラッパーのどちらが、タイムアウト処理を含む、記載されたユースケースに適しているかを判断します。選択した設計が実装され、そのリトライとの相互作用がカバーされれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
go
領域
backend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。