-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
32 lines (25 loc) · 1.12 KB
/
Copy pathconfig.example.toml
File metadata and controls
32 lines (25 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# rtk-sync config
# Default location is OS-specific:
# macOS: ~/Library/Application Support/rtk-sync/config.toml
# Linux: ~/.config/rtk-sync/config.toml
# Windows: %APPDATA%\rtk-sync\config.toml
#
# rtk-sync auto-creates this file at the default location on first run.
# Environment variables override this file; CLI flags override both.
# Optional RTK tracking database path override.
# Leave commented to auto-detect the same OS-specific default as RTK:
# dirs::data_local_dir()/rtk/history.db
# db = "/path/to/rtk/history.db"
# Optional rtk-sync state file override.
# Leave commented to use dirs::data_local_dir()/rtk-sync/state.json
# state = "/path/to/rtk-sync/state.json"
endpoint = "https://example.com/api/rtk/events"
# Prefer token_env when you do not want the token stored in config.toml.
token_env = "RTK_SYNC_TOKEN"
# Or store the token directly by running: rtk-sync config --token <token>
# token = "replace-me"
# Optional stable machine ID override. If unset, rtk-sync derives one from local machine info and stores it in state.
# machine_id = "macbook-vuong"
batch_size = 100
interval = 60
allow_insecure_http = false