Increase partial backup timeout to 3 hours

This commit is contained in:
Arpad Müller
2024-05-13 16:56:31 +02:00
parent 4d8a10af1c
commit eb0b80e3ea
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ pub mod defaults {
pub const DEFAULT_HEARTBEAT_TIMEOUT: &str = "5000ms";
pub const DEFAULT_MAX_OFFLOADER_LAG_BYTES: u64 = 128 * (1 << 20);
pub const DEFAULT_PARTIAL_BACKUP_TIMEOUT: &str = "15m";
pub const DEFAULT_PARTIAL_BACKUP_TIMEOUT: &str = "3h";
}
#[derive(Debug, Clone)]

View File

@@ -1,6 +1,6 @@
//! Safekeeper timeline has a background task which is subscribed to `commit_lsn`
//! and `flush_lsn` updates. After the partial segment was updated (`flush_lsn`
//! was changed), the segment will be uploaded to S3 in about 15 minutes.
//! was changed), the segment will be uploaded to S3 in about 3 hours.
//!
//! The filename format for partial segments is
//! `Segment_Term_Flush_Commit_skNN.partial`, where: