Skip to content

Commit a0cfb4d

Browse files
committed
feat: s3 update marker
1 parent d5308a1 commit a0cfb4d

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

config/agent/lightningstream.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ storage:
3232
endpoint_url: ${S3_ENDPOINT_URL}
3333
use_update_marker: true
3434

35-
cleanup:
36-
# Enable the cleaner
37-
enabled: true
38-
# Interval to check if snapshots need to be cleaned. Some perturbation
39-
# is added to this interval so that multiple instances started at exactly
40-
# the same time do not always try to clean the same snapshots at the same
41-
# time.
42-
interval: 1h
43-
# Snapshots must have been available for at least this interval before they
44-
# are considered for cleaning, so that slower instances have a chance to
45-
# download them.
46-
must_keep_interval: 24h
47-
# Remove stale instances without newer snapshots after this interval, but
48-
# only after we are sure this instance has downloaded and merged that
49-
# snapshot, and subsequently written a new snapshots that incorporates these
50-
# changes.
51-
remove_old_instances_interval: 168h # 1 week
35+
cleanup:
36+
# Enable the cleaner
37+
enabled: true
38+
# Interval to check if snapshots need to be cleaned. Some perturbation
39+
# is added to this interval so that multiple instances started at exactly
40+
# the same time do not always try to clean the same snapshots at the same
41+
# time.
42+
interval: 1h
43+
# Snapshots must have been available for at least this interval before they
44+
# are considered for cleaning, so that slower instances have a chance to
45+
# download them.
46+
must_keep_interval: 24h
47+
# Remove stale instances without newer snapshots after this interval, but
48+
# only after we are sure this instance has downloaded and merged that
49+
# snapshot, and subsequently written a new snapshots that incorporates these
50+
# changes.
51+
remove_old_instances_interval: 168h # 1 week

0 commit comments

Comments
 (0)