WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #46645, comment 1


Ignore:
Timestamp:
03/25/2019 09:24:44 PM (6 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46645, comment 1

    v1 v2  
    33Doing `$max_execution_time -= 5;` in `WP_Debug_data::get_directory_size()` solves it here, but 5 seconds is an arbitrary value. Is there a better way to reduce `$max_execution_time` by the time spent connecting to the wp.org API?
    44
    5 Also, perhaps we can subtract 1 more second off `$max_execution_time` in case of any server lag.
     5Also, perhaps we can subtract 1 more second off `$max_execution_time` in case of any other server lag.