aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-25 17:19:46 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-25 17:19:46 +0200
commite636eb88101a51399057c86477af6677f5614d48 (patch)
treeba56f0da932613c8013a2c52905ded1987cd6d6d /shared
parent4f133041819409a72cf70fa2fa6c4df14c6de4fd (diff)
downloadPeerTube-e636eb88101a51399057c86477af6677f5614d48.tar.gz
PeerTube-e636eb88101a51399057c86477af6677f5614d48.tar.zst
PeerTube-e636eb88101a51399057c86477af6677f5614d48.zip
Requests -> RequestSchedulers
Diffstat (limited to 'shared')
-rw-r--r--shared/models/request-scheduler.model.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/shared/models/request-scheduler.model.ts b/shared/models/request-scheduler.model.ts
index f94ccfcab..8df184a09 100644
--- a/shared/models/request-scheduler.model.ts
+++ b/shared/models/request-scheduler.model.ts
@@ -4,7 +4,7 @@ export type RequestVideoQaduType = 'likes' | 'dislikes' | 'views'
4 4
5export type RequestVideoEventType = 'likes' | 'dislikes' | 'views' 5export type RequestVideoEventType = 'likes' | 'dislikes' | 'views'
6 6
7export type RequestSchedulerAttributes = { 7export type RequestSchedulerStatsAttributes = {
8 totalRequests: number 8 totalRequests: number
9 requestsLimitPods: number 9 requestsLimitPods: number
10 requestsLimitPerPod: number 10 requestsLimitPerPod: number
@@ -12,8 +12,8 @@ export type RequestSchedulerAttributes = {
12 milliSecondsInterval: number 12 milliSecondsInterval: number
13} 13}
14 14
15export interface RequestScheduler { 15export interface RequestSchedulerStats {
16 requestScheduler: RequestSchedulerAttributes 16 requestScheduler: RequestSchedulerStatsAttributes
17 requestVideoQaduScheduler: RequestSchedulerAttributes 17 requestVideoQaduScheduler: RequestSchedulerStatsAttributes
18 requestVideoEventScheduler: RequestSchedulerAttributes 18 requestVideoEventScheduler: RequestSchedulerStatsAttributes
19} 19}