wp-sweep icon indicating copy to clipboard operation
wp-sweep copied to clipboard

Add status indicator for long sweeps

Open cupojoe opened this issue 6 years ago • 3 comments

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.

cupojoe avatar Dec 30 '18 14:12 cupojoe

If you have a large website please consider using the command line. You will benefit from it.

szepeviktor avatar Dec 30 '18 14:12 szepeviktor

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?

cupojoe avatar Dec 30 '18 15:12 cupojoe

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

lesterchan avatar Dec 31 '18 03:12 lesterchan