mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore: finish migrating eslint config files; bump unicorn (#17200)
This commit is contained in:
parent
e4f83680d9
commit
238c151ac3
23 changed files with 883 additions and 1286 deletions
|
|
@ -537,6 +537,7 @@ export const utils = {
|
|||
},
|
||||
|
||||
waitForQueueFinish: (accessToken: string, queue: keyof AllJobStatusResponseDto, ms?: number) => {
|
||||
// eslint-disable-next-line no-async-promise-executor
|
||||
return new Promise<void>(async (resolve, reject) => {
|
||||
const timeout = setTimeout(() => reject(new Error('Timed out waiting for queue to empty')), ms || 10_000);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue