aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/request-scheduler.model.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-15 11:00:25 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:51 +0100
commit608624252466acf9f1d9ee1c1170bd4fe4d18d18 (patch)
tree47eab55bb5421b7fe88e0b2ac743a436fd9561cf /shared/models/request-scheduler.model.ts
parent51548b31815c6f96f314ae96588a9adca150519d (diff)
downloadPeerTube-608624252466acf9f1d9ee1c1170bd4fe4d18d18.tar.gz
PeerTube-608624252466acf9f1d9ee1c1170bd4fe4d18d18.tar.zst
PeerTube-608624252466acf9f1d9ee1c1170bd4fe4d18d18.zip
Rename Pod -> Server
Diffstat (limited to 'shared/models/request-scheduler.model.ts')
-rw-r--r--shared/models/request-scheduler.model.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/shared/models/request-scheduler.model.ts b/shared/models/request-scheduler.model.ts
deleted file mode 100644
index 8df184a09..000000000
--- a/shared/models/request-scheduler.model.ts
+++ /dev/null
@@ -1,19 +0,0 @@
1export type RequestEndpoint = 'videos'
2
3export type RequestVideoQaduType = 'likes' | 'dislikes' | 'views'
4
5export type RequestVideoEventType = 'likes' | 'dislikes' | 'views'
6
7export type RequestSchedulerStatsAttributes = {
8 totalRequests: number
9 requestsLimitPods: number
10 requestsLimitPerPod: number
11 remainingMilliSeconds: number
12 milliSecondsInterval: number
13}
14
15export interface RequestSchedulerStats {
16 requestScheduler: RequestSchedulerStatsAttributes
17 requestVideoQaduScheduler: RequestSchedulerStatsAttributes
18 requestVideoEventScheduler: RequestSchedulerStatsAttributes
19}