mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-10 23:12:54 +00:00
* Poll more frequently when waiting for process start/stop. This speeds up startup and shutdown in tests. We did this already in commit52ce1c9d53, which reduced the interval to 100 ms, but it was inadvertently increased back to 500 ms in commitd42700280f. Reduce it to 100 ms again, for both start and stop operations. * Harmonize the start and stop loops, printing the dots and notices the same way in both. I considered extracting the logic to a separate retry-function that takes a closure as argument that does the polling, but as long as we only have two copies, the code duplication isn't that bad. * Remove newline after "Starting pageserver" and "Starting etcd" messages, so that the progress-indicator dots that are printed once a second are printed on the same line. Before: Starting pageserver at '127.0.0.1:64000' in '.neon' ... pageserver started, pid: 2538937 After: Starting pageserver at '127.0.0.1:64000' in '.neon'... pageserver started, pid: 2538937 The "Starting safekeeper" message already got this right. * Update example output in README.md to match