diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-25 17:19:46 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-25 17:19:46 +0200 |
commit | e636eb88101a51399057c86477af6677f5614d48 (patch) | |
tree | ba56f0da932613c8013a2c52905ded1987cd6d6d /shared | |
parent | 4f133041819409a72cf70fa2fa6c4df14c6de4fd (diff) | |
download | PeerTube-e636eb88101a51399057c86477af6677f5614d48.tar.gz PeerTube-e636eb88101a51399057c86477af6677f5614d48.tar.zst PeerTube-e636eb88101a51399057c86477af6677f5614d48.zip |
Requests -> RequestSchedulers
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/request-scheduler.model.ts | 10 |
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 | ||
5 | export type RequestVideoEventType = 'likes' | 'dislikes' | 'views' | 5 | export type RequestVideoEventType = 'likes' | 'dislikes' | 'views' |
6 | 6 | ||
7 | export type RequestSchedulerAttributes = { | 7 | export 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 | ||
15 | export interface RequestScheduler { | 15 | export interface RequestSchedulerStats { |
16 | requestScheduler: RequestSchedulerAttributes | 16 | requestScheduler: RequestSchedulerStatsAttributes |
17 | requestVideoQaduScheduler: RequestSchedulerAttributes | 17 | requestVideoQaduScheduler: RequestSchedulerStatsAttributes |
18 | requestVideoEventScheduler: RequestSchedulerAttributes | 18 | requestVideoEventScheduler: RequestSchedulerStatsAttributes |
19 | } | 19 | } |