akismet
Opened 15 years ago
Last modified 8 years ago
#1252 new defect
Rechecking the queue times out
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Severity: | normal |
| Plugin: | akismet | Keywords: | |
| Cc: |
Description
Rechecking the spam queue is done without a limit, and above a certain number of comments, it times out.
Instead, it should use an AJAX system where X comments at a time (suggestion: 5-10) are checked, and a progress bar is displayed.
Change History (2)
#2
@
8 years ago
The recheck no longer tries to process all comments at once, but even the batching does occasionally have issues. From this ticket: https://wordpress.org/support/topic/timeout-of-admin-ajax/
Our platform has 1,000+ pending comments. When trying to check for spam, the admin-ajax running instance might not make it until timeout, and ocassionally fail, with 504. As i see in the source code, the limit per request of comments to admin-ajax is hardcoded to 100. It would really be nice to have this configurable via admin panel, or something like that. I really don’t think extending execution limit of php scripts is the right choice here 🙂
For clarification, Mark is referring to the 'Check for Spam' button.