Skip to content

Commit f91d31d

Browse files
authored
chore: update sample config (#357)
Signed-off-by: Ashing Zheng <[email protected]>
1 parent 6322f8e commit f91d31d

File tree

2 files changed

+230
-4
lines changed

2 files changed

+230
-4
lines changed

config/samples/config.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ leader_election:
1919
metrics_addr: ":8080" # The address the metrics endpoint binds to.
2020
# The default value is ":8080".
2121

22+
enable_server: false # The debug API is behind this server which is disabled by default for security reasons.
2223
server_addr: "127.0.0.1:9092" # Available endpoints: /debug can be used to debug in-memory state of translated adc configs to be synced with data plane.
2324

2425
enable_http2: false # Whether to enable HTTP/2 for the server.
@@ -39,10 +40,8 @@ disable_gateway_api: false # Whether to disable the Gateway API su
3940
provider:
4041
type: "api7ee"
4142

42-
sync_period: 0s
43-
# The period between two consecutive syncs.
44-
# The default value is 0 seconds, which means the controller will not sync.
45-
# If you want to enable the sync, set it to a positive value.
43+
sync_period: 1h # The period between two consecutive syncs. The default value is 1 hour.
44+
# If you want to disable the sync, set it to 0.
4645
init_sync_delay: 20m # The initial delay before the first sync, only used when the controller is started.
4746
# The default value is 20 minutes.
4847

0 commit comments

Comments
 (0)