mirror of
https://github.com/neondatabase/neon.git
synced 2026-07-03 20:20:38 +00:00
Checkpoint more often, to generate more snapshot files.
This should help make bugs more shallow.
This commit is contained in:
@@ -254,7 +254,7 @@ fn walreceiver_main(
|
||||
tenantid,
|
||||
)?;
|
||||
|
||||
if newest_segno - oldest_segno >= 10 {
|
||||
if newest_segno - oldest_segno >= 1 {
|
||||
timeline.checkpoint()?;
|
||||
|
||||
// TODO: This is where we could remove WAL older than last_rec_lsn.
|
||||
|
||||
Reference in New Issue
Block a user