Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #33463, comment 6


Ignore:
Timestamp:
08/30/2015 07:46:44 PM (9 years ago)
Author:
leedo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33463, comment 6

    v1 v2  
    55We managed to end up with 150k of these cron events scheduled before rolling back to 4.2.4. I'm not sure if that is worse than expected, our setup is multisite and gets quite a bit of traffic. Running the code to unschedule the tasks in upgrade_431() takes prohibitively long with such a large list. I think there is probably a more efficient way, directly updating the entire option at once. Maybe most sites won't have 150k items to remove, but if they do, it will take much longer than can be run in a single HTTP request.
    66
    7 edit: Clearing it in one go like this was immediate, where as the above fix would probably take ours for us.
     7edit: Clearing it in one go like this was immediate, where as the above fix would probably take hours for us.
    88
    99{{{