Faster way to get all users balance?
-
I have a site with 3000+ accounts and now the wallet admin page that shows all the users balances takes almost 60 secs to load.
I tested another method where i loop through all users and request their balance:
$funds = (float)woo_wallet()->wallet->get_wallet_balance($user->ID, 'number');
But that still takes the same amount of time as the wallet admin page.
Is there a faster way to do this? It seems like it shouldn’t be loading this slowly at only 3000 entries.
Thanks for your help guys, hopefully I am missing something obvious.
Rob
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Faster way to get all users balance?’ is closed to new replies.