wp-sweep
wp-sweep copied to clipboard
Add status indicator for long sweeps
If you are cleaning a large database, sweeping can take a while. Adding a status or progress indicator would be great. Something to know the process didn't hang.
Like: xx of yyyy left.
If you have a large website please consider using the command line. You will benefit from it.
Thanks for responding quickly. This is great, although I still think this request is valid. Most people in need of sweeping have data that make the plugin feel like it hangs or nothing is happening. I see you listen to callbacks for when it's done via Ajax. Maybe adding a callback for progress updates?
Thinking out loud, we can set a timer from php max execution time to show a countdown and refresh the page after it is 0. Often, it timeout because of the 30s max execution time