aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-04-20 12:56:48 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-04-23 12:36:12 +0200
commitef27bd6e550530ccf37705f89d026ba2fb517f1c (patch)
tree0d16b2f01e67ca2db4c163a2c8d06dee2b0faff9 /lib
parentc01c516323d91bb23f16186ffe0be09b3c412624 (diff)
downloadnextcloud-server-ef27bd6e550530ccf37705f89d026ba2fb517f1c.tar.gz
nextcloud-server-ef27bd6e550530ccf37705f89d026ba2fb517f1c.zip
fix(SpeechToText): Prevent parallel runs of TranscriptionJob
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/SpeechToText/TranscriptionJob.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/SpeechToText/TranscriptionJob.php b/lib/private/SpeechToText/TranscriptionJob.php
index d5cc9ed7c38..8921d52ecd1 100644
--- a/lib/private/SpeechToText/TranscriptionJob.php
+++ b/lib/private/SpeechToText/TranscriptionJob.php
@@ -49,6 +49,7 @@ class TranscriptionJob extends QueuedJob {
private LoggerInterface $logger,
) {
parent::__construct($timeFactory);
+ $this->setAllowParallelRuns(false);
}