Retry of Pring changed to Count
This commit is contained in:
parent
e7142ab197
commit
e783f9f785
|
@ -1,5 +1,5 @@
|
|||
export interface PingOption {
|
||||
retry: number;
|
||||
count: number;
|
||||
interval: number;
|
||||
deadline: number;
|
||||
}
|
||||
|
|
|
@ -79,8 +79,8 @@
|
|||
|
||||
<p-tabPanel header="Health">
|
||||
|
||||
<div class="ui-g-10 ui-g-offset-2">Retries :
|
||||
<input type="number" pInputText [(ngModel)]="retries" min="1" max="50">
|
||||
<div class="ui-g-10 ui-g-offset-2">Count :
|
||||
<input type="number" pInputText [(ngModel)]="count" min="1" max="50">
|
||||
</div>
|
||||
<div class="ui-g-10 ui-g-offset-2">Interval :
|
||||
<input type="number" pInputText [(ngModel)]="interval" min="1" max="10">
|
||||
|
|
|
@ -20,7 +20,7 @@ export class HostDetailComponent {
|
|||
|
||||
pingWaiting: boolean;
|
||||
|
||||
retries: number;
|
||||
count: number;
|
||||
interval: number;
|
||||
deadline: number;
|
||||
|
||||
|
@ -30,7 +30,7 @@ export class HostDetailComponent {
|
|||
private probeService: ProbeService,
|
||||
) {
|
||||
this.pingWaiting = false;
|
||||
this.retries = 5;
|
||||
this.count = 5;
|
||||
this.interval = 1;
|
||||
this.deadline = 1;
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ export class HostDetailComponent {
|
|||
this.pingWaiting = true;
|
||||
|
||||
const option = {
|
||||
Retry: this.retries,
|
||||
Count: this.count,
|
||||
Interval: this.interval,
|
||||
Deadline: this.deadline,
|
||||
};
|
||||
|
|
|
@ -61,8 +61,8 @@
|
|||
|
||||
<p-tabPanel header="Health">
|
||||
|
||||
<div class="ui-g-10 ui-g-offset-2">Retries :
|
||||
<input type="number" pInputText [(ngModel)]="retries" min="1" max="50">
|
||||
<div class="ui-g-10 ui-g-offset-2">Count :
|
||||
<input type="number" pInputText [(ngModel)]="count" min="1" max="50">
|
||||
</div>
|
||||
<div class="ui-g-10 ui-g-offset-2">Interval :
|
||||
<input type="number" pInputText [(ngModel)]="interval" min="1" max="10">
|
||||
|
|
|
@ -16,7 +16,7 @@ export class ServiceDetailComponent {
|
|||
pingWaiting: boolean;
|
||||
pingResult: PingResult;
|
||||
|
||||
retries: number;
|
||||
count: number;
|
||||
interval: number;
|
||||
deadline: number;
|
||||
|
||||
|
@ -24,7 +24,7 @@ export class ServiceDetailComponent {
|
|||
private probeService: ProbeService
|
||||
) {
|
||||
this.pingWaiting = false;
|
||||
this.retries = 5;
|
||||
this.count = 5;
|
||||
this.interval = 1;
|
||||
this.deadline = 1;
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ export class ServiceDetailComponent {
|
|||
this.pingWaiting = true;
|
||||
|
||||
const option = {
|
||||
Retry: this.retries,
|
||||
Count: this.count,
|
||||
Interval: this.interval,
|
||||
Deadline: this.deadline,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user