aboutsummaryrefslogtreecommitdiff
path: root/doc/book/reference-manual
diff options
context:
space:
mode:
authorRenjaya Raga Zenta <ragazenta@gmail.com>2024-11-25 10:35:00 +0700
committerRenjaya Raga Zenta <ragazenta@gmail.com>2024-11-25 10:35:00 +0700
commit0fd3c0e794e7b77548c4ed1c5074b299c5a5b374 (patch)
treeb48aa0763a6d99902011b1058bf5e3273ab69d49 /doc/book/reference-manual
parent4c1bf42192db26aa455d94b65d2b9d638720f60b (diff)
downloadgarage-0fd3c0e794e7b77548c4ed1c5074b299c5a5b374.tar.gz
garage-0fd3c0e794e7b77548c4ed1c5074b299c5a5b374.zip
doc: add use_local_tz configuration
Diffstat (limited to 'doc/book/reference-manual')
-rw-r--r--doc/book/reference-manual/configuration.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/book/reference-manual/configuration.md b/doc/book/reference-manual/configuration.md
index e3595784..2779bd19 100644
--- a/doc/book/reference-manual/configuration.md
+++ b/doc/book/reference-manual/configuration.md
@@ -16,6 +16,7 @@ data_dir = "/var/lib/garage/data"
metadata_fsync = true
data_fsync = false
disable_scrub = false
+use_local_tz = false
metadata_auto_snapshot_interval = "6h"
db_engine = "lmdb"
@@ -99,6 +100,7 @@ Top-level configuration options:
[`data_fsync`](#data_fsync),
[`db_engine`](#db_engine),
[`disable_scrub`](#disable_scrub),
+[`use_local_tz`](#use_local_tz),
[`lmdb_map_size`](#lmdb_map_size),
[`metadata_auto_snapshot_interval`](#metadata_auto_snapshot_interval),
[`metadata_dir`](#metadata_dir),
@@ -427,6 +429,13 @@ you should delete it from the data directory and then call `garage repair
blocks` on the node to ensure that it re-obtains a copy from another node on
the network.
+#### `use_local_tz` {#use_local_tz}
+
+By default, Garage runs the lifecycle worker every day at midnight in UTC. Set the
+`use_local_tz` configuration value to `true` if you want Garage to run the
+lifecycle worker at midnight in your local timezone. If you have multiple nodes,
+you should also ensure that each node has the same timezone configuration.
+
#### `block_size` {#block_size}
Garage splits stored objects in consecutive chunks of size `block_size`