Skip to content

Commit

Permalink
setInterval 200ms
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k committed Feb 12, 2025
1 parent 2a99137 commit 8971bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/unstable_progress_bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export class ProgressBar {
.pipeTo(writable, { preventClose: this.#options.keepOpen })
.catch(() => clearInterval(this.#id));
this.#writer = stream.writable.getWriter();
this.#id = setInterval(() => this.#print());
this.#id = setInterval(() => this.#print(), 200);
this.#startTime = performance.now();
this.#lastTime = this.#startTime;
this.#lastValue = this.#options.value;
Expand Down

0 comments on commit 8971bba

Please sign in to comment.