mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-12 16:02:56 +00:00
## Problem Compute start time has improved, but the timing of connection retries from the proxy is rather slow, meaning we could be making clients wait hundreds of milliseconds longer than necessary. ## Summary of changes Previously, retry time in ms was `100 * 1.5**n`, and `n` starts at 1, giving: 150, 225, 337, 506, 759, 1139, 1709, ... This PR changes that to `25 * sqrt(2)**(n - 1)` instead, giving: 25, 35, 50, 71, 100, 141, 200, ...