2017-06-16 04:36:18 -04:00
|
|
|
export type RequestEndpoint = 'videos'
|
|
|
|
|
|
|
|
export type RequestVideoQaduType = 'likes' | 'dislikes' | 'views'
|
|
|
|
|
|
|
|
export type RequestVideoEventType = 'likes' | 'dislikes' | 'views'
|
|
|
|
|
2017-06-25 11:19:46 -04:00
|
|
|
export type RequestSchedulerStatsAttributes = {
|
2017-06-16 04:36:18 -04:00
|
|
|
totalRequests: number
|
|
|
|
requestsLimitPods: number
|
|
|
|
requestsLimitPerPod: number
|
|
|
|
remainingMilliSeconds: number
|
|
|
|
milliSecondsInterval: number
|
|
|
|
}
|
|
|
|
|
2017-06-25 11:19:46 -04:00
|
|
|
export interface RequestSchedulerStats {
|
|
|
|
requestScheduler: RequestSchedulerStatsAttributes
|
|
|
|
requestVideoQaduScheduler: RequestSchedulerStatsAttributes
|
|
|
|
requestVideoEventScheduler: RequestSchedulerStatsAttributes
|
2017-06-16 04:36:18 -04:00
|
|
|
}
|