You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For non-interactive (eg: batch) environments where puppeteer-cluster is used, it would be nice to enhance the display of statistics to be more friendly:
Example output:
[K== Start: 2020-03-26 20:01:45.859
�[K== Now: 2020-03-26 20:01:50.859 (running for 5.0 seconds)
�[K== Progress: 0 / 306 (0.00%), errors: 0 (0.00%)
�[K== Remaining: unknown (@ 0 pages/second)
�[K== Sys. load: 7.3% CPU / 94.3% memory
�[K== Workers: 4
�[K #0 WORK UNKNOWN TARGET
�[K #1 WORK UNKNOWN TARGET
�[K #2 WORK UNKNOWN TARGET
�[K #3 WORK UNKNOWN TARGET
Ideally, there would be 3 enhancements made (listed in order of request priority):
ability to aggregate display output (for example, when tasks change state or on some interval)
ability to set custom work target descriptions (eg: for when the data passed to a task is a non-string (code here);
ability to detect non-interactive terminal and avoid outputting terminal escape sequences
The text was updated successfully, but these errors were encountered:
About item 2 (work target descriptions): the worker can update the url property of the complex object you passed as data, and it will display as the worker description. It doesn't need to be an actual url at all. It just needs to be a string, as you can see here in the source.
It's kind of hacky but... well, it works for me. Displaying descriptions is essential in my case because each of my workers performs a long-running, multiple step task. And here's the output.
For non-interactive (eg: batch) environments where puppeteer-cluster is used, it would be nice to enhance the display of statistics to be more friendly:
Example output:
Ideally, there would be 3 enhancements made (listed in order of request priority):
The text was updated successfully, but these errors were encountered: