chore: 著作権とライセンスについての情報を各ファイルに追加する (#11348)

* chore: Add the SPDX information to each file

Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.

* tweak format

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
Shun Sakai 2023-07-27 14:31:52 +09:00 committed by GitHub
parent b6790a4320
commit c2370a1be6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1647 changed files with 8306 additions and 340 deletions

View file

@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { Config } from '@/config.js';
import type * as Bull from 'bullmq';
@ -16,7 +21,7 @@ export function baseQueueOptions(config: Config, queueName: typeof QUEUE[keyof t
return {
connection: {
...config.redisForJobQueue,
keyPrefix: undefined
keyPrefix: undefined,
},
prefix: config.redisForJobQueue.prefix ? `${config.redisForJobQueue.prefix}:queue:${queueName}` : `queue:${queueName}`,
};