elementor / elementor/wp2static

Concatenate log msgs when jobs in progress and queue is attempted processing

Open
#516 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
1.5k
Forks
294
PR merge metrics
No merged PRs in 30d

Description

ie, currently, if there's a long-duration job running and job processing schedule is every minute, logs can fillup with same message at the top "Tried to process queue while other jobs are running".

This adds noise and makes logs less readable. Rather:

- when message about to be added, check for previous message with same format
- update that message, incrementing a counter to show how many times it's been called

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.