Skip to content

Commit

Permalink
chore: config
Browse files Browse the repository at this point in the history
  • Loading branch information
NiwakaDev committed Nov 16, 2023
1 parent e18e7d8 commit af51b51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions config/datanode.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ sync_write = false
[storage]
# The working home directory.
data_home = "/tmp/greptimedb/"
# Storage type.
type = "File"
# TTL for all tables. Disabled by default.
# global_ttl = "7d"

Expand All @@ -52,9 +54,6 @@ data_home = "/tmp/greptimedb/"
# The local file cache capacity in bytes.
# cache_capacity = "256MB"

[storage.default_store]
type = "File"

# Compaction options, see `standalone.example.toml`.
[storage.compaction]
max_inflight_tasks = 4
Expand Down
4 changes: 2 additions & 2 deletions config/standalone.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,14 @@ retry_delay = "500ms"
[storage]
# The working home directory.
data_home = "/tmp/greptimedb/"
# Storage type.
type = "File"
# TTL for all tables. Disabled by default.
# global_ttl = "7d"
# Cache configuration for object storage such as 'S3' etc.
# cache_path = "/path/local_cache"
# The local file cache capacity in bytes.
# cache_capacity = "256MB"
[storage.default_store]
type = "File"

# Compaction options.
[storage.compaction]
Expand Down

0 comments on commit af51b51

Please sign in to comment.