enhance: ActivityPub 周りで 429 を受け取った際にリトライするように (MisskeyIO#324)
This commit is contained in:
parent
f1b7f3425e
commit
397e056b1e
6 changed files with 8 additions and 6 deletions
|
@ -111,7 +111,7 @@ export class DeliverProcessorService {
|
|||
|
||||
if (res instanceof StatusError) {
|
||||
// 4xx
|
||||
if (res.isClientError) {
|
||||
if (!res.isRetryable) {
|
||||
// 相手が閉鎖していることを明示しているため、配送停止する
|
||||
if (job.data.isSharedInbox && res.statusCode === 410) {
|
||||
this.federatedInstanceService.fetch(host).then(i => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue