Skip to content

Conversation

kkmuffme
Copy link
Contributor

@kkmuffme kkmuffme commented Jan 8, 2025

  • queries slower than heartbeat recheck_timeout would trigger unnecessary heartbeat pings
  • unnecessary heartbeat pings after we just pinged if less servers than retries
  • fix if ping (e.g. due to network congestion or physical distance) would exceed recheck_timeout
  • fix broken connection not removed if heartbeats disabled
  • automatically retry query if server went away (like WP core wpdb does https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/class-wpdb.php#L2274)

* queries slower than heartbeat recheck_timeout would trigger unnecessary heartbeat pings
* unnecessary heartbeat pings after we just pinged if less servers than retries
* fix if ping (e.g. due to network congestion or physical distance) would exceed recheck_timeout
…the server will not be reused and disconnected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant