Skip to content

Commit

Permalink
fix(dfx-helper): refresh time of ping directive
Browse files Browse the repository at this point in the history
  • Loading branch information
Dafnik committed Feb 7, 2023
1 parent ff39c1e commit c8aa4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/dfx-helper/src/lib/directives/ping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class DfxHideIfPingSucceeds extends AComponent {
constructor(httpClient: HttpClient, changeDetectorRef: ChangeDetectorRef) {
super();
this.unsubscribe(
timer(0, this._refreshTime)
timer(0, this._refreshTime * 1000)
.pipe(
switchMap(() => httpClient.get(this.url, this.byPassLoggingInterceptor)),
map(() => true),
Expand Down

0 comments on commit c8aa4f3

Please sign in to comment.