deliverMany に content の null チェックを追加 (#99)
This commit is contained in:
parent
53931ec59a
commit
b77e7361fc
@ -62,6 +62,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,
|
||||
timeout: 1 * 60 * 1000, // 1min
|
||||
|
Loading…
Reference in New Issue
Block a user