mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Add ability to disable storyboards
This commit is contained in:
parent
482223cc23
commit
b9077c83fc
23 changed files with 131 additions and 60 deletions
|
@ -336,7 +336,9 @@ class JobQueue {
|
|||
.catch(err => logger.error('Cannot create job.', { err, options }))
|
||||
}
|
||||
|
||||
createJob (options: CreateJobArgument & CreateJobOptions) {
|
||||
createJob (options: CreateJobArgument & CreateJobOptions | undefined) {
|
||||
if (!options) return
|
||||
|
||||
const queue: Queue = this.queues[options.type]
|
||||
if (queue === undefined) {
|
||||
logger.error('Unknown queue %s: cannot create job.', options.type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue