diff options
Diffstat (limited to 'client/src/app/admin')
-rw-r--r-- | client/src/app/admin/requests/request-stats/request-stats.component.html | 5 | ||||
-rw-r--r-- | client/src/app/admin/requests/shared/request-stats.model.ts | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/client/src/app/admin/requests/request-stats/request-stats.component.html b/client/src/app/admin/requests/request-stats/request-stats.component.html index 1b90100e7..b5ac59a9a 100644 --- a/client/src/app/admin/requests/request-stats/request-stats.component.html +++ b/client/src/app/admin/requests/request-stats/request-stats.component.html | |||
@@ -12,6 +12,11 @@ | |||
12 | </div> | 12 | </div> |
13 | 13 | ||
14 | <div> | 14 | <div> |
15 | <span class="label-description">Maximum number of requests per interval:</span> | ||
16 | {{ stats.maxRequestsInParallel }} | ||
17 | </div> | ||
18 | |||
19 | <div> | ||
15 | <span class="label-description">Remaining requests:</span> | 20 | <span class="label-description">Remaining requests:</span> |
16 | {{ stats.requests.length }} | 21 | {{ stats.requests.length }} |
17 | </div> | 22 | </div> |
diff --git a/client/src/app/admin/requests/shared/request-stats.model.ts b/client/src/app/admin/requests/shared/request-stats.model.ts index dfa956f10..766e80836 100644 --- a/client/src/app/admin/requests/shared/request-stats.model.ts +++ b/client/src/app/admin/requests/shared/request-stats.model.ts | |||
@@ -4,15 +4,18 @@ export interface Request { | |||
4 | } | 4 | } |
5 | 5 | ||
6 | export class RequestStats { | 6 | export class RequestStats { |
7 | maxRequestsInParallel: number; | ||
7 | milliSecondsInterval: number; | 8 | milliSecondsInterval: number; |
8 | remainingMilliSeconds: number; | 9 | remainingMilliSeconds: number; |
9 | requests: Request[]; | 10 | requests: Request[]; |
10 | 11 | ||
11 | constructor(hash: { | 12 | constructor(hash: { |
13 | maxRequestsInParallel: number, | ||
12 | milliSecondsInterval: number, | 14 | milliSecondsInterval: number, |
13 | remainingMilliSeconds: number, | 15 | remainingMilliSeconds: number, |
14 | requests: Request[]; | 16 | requests: Request[]; |
15 | }) { | 17 | }) { |
18 | this.maxRequestsInParallel = hash.maxRequestsInParallel; | ||
16 | this.milliSecondsInterval = hash.milliSecondsInterval; | 19 | this.milliSecondsInterval = hash.milliSecondsInterval; |
17 | this.remainingMilliSeconds = hash.remainingMilliSeconds; | 20 | this.remainingMilliSeconds = hash.remainingMilliSeconds; |
18 | this.requests = hash.requests; | 21 | this.requests = hash.requests; |