Skip to content

Commit dfcf134

Browse files
committed
increase default max load
1 parent 41b82d5 commit dfcf134

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

includes/classes/Async/CachePreloader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ public function should_continue() {
147147
// Consider a spike if 1min load is significantly higher than longer-term averages.
148148
$load_spike_detected = ( $load_1min > $load_5min * 2 || $load_5min > $load_15min * 2 );
149149

150-
// Fallback max load threshold (used if no CPU core info or not desired)
151-
$default_max_load = 4.0;
150+
// Fallback max load threshold
151+
$default_max_load = 16.0;
152152

153153
/**
154154
* Filter the max allowed server load before preloading pauses.

0 commit comments

Comments
 (0)