Skip to content

Commit

Permalink
Reduced Jetpack connection short check from 2min to 15s (#91049)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulopmt1 authored May 23, 2024
1 parent 0fb8dfe commit 3382330
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import getJetpackConnectionHealth from './get-jetpack-connection-health';
import isJetpackConnectionProblem from './is-jetpack-connection-problem';

export const STALE_CONNECTION_HEALTH_THRESHOLD = 1000 * 60 * 5; // 5 minutes
export const STALE_CONNECTION_HEALTH_THRESHOLD_SHORT = 1000 * 60 * 2; // 2 minutes
export const STALE_CONNECTION_HEALTH_THRESHOLD_SHORT = 1000 * 15; // 15 seconds

/**
* Returns true if the current site Jetpack site connection health status should be requested
Expand Down

0 comments on commit 3382330

Please sign in to comment.