diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/request/abstract-request-scheduler.ts | 2 | ||||
-rw-r--r-- | server/lib/request/request-video-qadu-scheduler.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/request/abstract-request-scheduler.ts b/server/lib/request/abstract-request-scheduler.ts index f46682824..08e371a02 100644 --- a/server/lib/request/abstract-request-scheduler.ts +++ b/server/lib/request/abstract-request-scheduler.ts | |||
@@ -146,7 +146,7 @@ abstract class AbstractRequestScheduler <T> { | |||
146 | this.afterRequestsHook() | 146 | this.afterRequestsHook() |
147 | 147 | ||
148 | // All the requests were made, we update the pods score | 148 | // All the requests were made, we update the pods score |
149 | await db.Pod.updatePodsScore(goodPods, badPods) | 149 | db.Pod.updatePodsScore(goodPods, badPods) |
150 | } | 150 | } |
151 | 151 | ||
152 | protected afterRequestHook () { | 152 | protected afterRequestHook () { |
diff --git a/server/lib/request/request-video-qadu-scheduler.ts b/server/lib/request/request-video-qadu-scheduler.ts index a54efc111..24ee59d29 100644 --- a/server/lib/request/request-video-qadu-scheduler.ts +++ b/server/lib/request/request-video-qadu-scheduler.ts | |||
@@ -95,7 +95,7 @@ class RequestVideoQaduScheduler extends AbstractRequestScheduler<RequestsVideoQa | |||
95 | 95 | ||
96 | default: | 96 | default: |
97 | logger.error('Unknown request video QADU type %s.', request.type) | 97 | logger.error('Unknown request video QADU type %s.', request.type) |
98 | return | 98 | return undefined |
99 | } | 99 | } |
100 | 100 | ||
101 | // Do not forget the uuid so the remote pod can identify the video | 101 | // Do not forget the uuid so the remote pod can identify the video |