Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Better handling of large user basees

$
0
0

Replies: 0

When activating the plugin, the WP user base is populated into the subscriber table.

We have a large user base of 100,000+ users. Due to script execution timeouts, the populating routines do not finish before being terminated. Because this code is run during the plugin activation callback, the script execution does not complete and the plugin is never activated.

Attempting to activate the plugin again runs through the exact same process.

To address this I recommend the following:
* Defer the population process to some sort of queue when user counts are above a certain number.
* Improve the process to include some sort of batching system and detect when batches are completed.

Thanks!


Viewing all articles
Browse latest Browse all 59525

Trending Articles