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