fix(backend): deliverManyにcontentのnullチェックを追加

https://github.com/MisskeyIO/misskey/pull/99
This commit is contained in:
tamaina 2023-07-07 23:15:04 +00:00
parent 0b8e0fa91b
commit b318789354

View file

@ -97,6 +97,8 @@ export class QueueService {
*/
@bindThis
public async deliverMany(user: ThinUser, content: IActivity | null, inboxes: Map<string, boolean>) {
if (content == null) return null;
const opts = {
attempts: this.config.deliverJobMaxAttempts ?? 12,
backoff: {