Skip to content

Commit

Permalink
Set renderThrottle in synch example to 100 ms
Browse files Browse the repository at this point in the history
Just to demonstrate that this now works.
  • Loading branch information
Marco Brack committed Mar 22, 2018
1 parent b2533ad commit 501e9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/iterative.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
var ProgressBar = require('../');

var len = 10000000; // Adjust to your machine's speed
var bar = new ProgressBar('[:bar]', len);
var bar = new ProgressBar('[:bar]', {total: len, renderThrottle: 100});

for (var i = 0; i <= len; i++) {
bar.tick();
Expand Down

0 comments on commit 501e9d2

Please sign in to comment.