diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-25 16:52:01 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-26 09:11:38 +0200 |
commit | d412e80e5f748f92118541a5334c14ebd4a90881 (patch) | |
tree | 3f0a240fadc0cf1f63ef087515b2e2cd253a6b79 /server/lib/request | |
parent | 404b54e14f6623c1644a8c87ca22f4bab98d5484 (diff) | |
download | PeerTube-d412e80e5f748f92118541a5334c14ebd4a90881.tar.gz PeerTube-d412e80e5f748f92118541a5334c14ebd4a90881.tar.zst PeerTube-d412e80e5f748f92118541a5334c14ebd4a90881.zip |
Fix lint
Diffstat (limited to 'server/lib/request')
-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 |