Skip to content

Commit

Permalink
Change default maxRenders.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorribas committed Sep 2, 2014
1 parent 7f1662d commit 4216759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phantom-process.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var forcePrintMedia = function() {
});
};

var renders = 0, maxRenders = 1000;
var renders = 0, maxRenders = 500;
var loop = function() {
var line = system.stdin.readLine();
if (!line.trim()) return phantom.exit(0);
Expand Down

1 comment on commit 4216759

@markstos
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When updating this default value, the documentation of the default in the README was not not updated. This may be related to this issue on memory growth:

https://github.com/e-conomic/phantom-render-stream/issues/80

I'll be submitting a patch shortly to update the documentation accordingly.

Please sign in to comment.