aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/request-scheduler.model.ts
diff options
context:
space:
mode:
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}