13 lines
426 B
TypeScript
13 lines
426 B
TypeScript
// Copyright 2021 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
import { removeStorageKeyJobQueue } from './removeStorageKeyJobQueue';
|
|
import { reportSpamJobQueue } from './reportSpamJobQueue';
|
|
|
|
/**
|
|
* Start all of the job queues. Should be called when the database is ready.
|
|
*/
|
|
export function initializeAllJobQueues(): void {
|
|
removeStorageKeyJobQueue.streamJobs();
|
|
reportSpamJobQueue.streamJobs();
|
|
}
|