Skip to content

Commit

Permalink
Specify time unit of the interval config keys in the doc (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenneg authored Feb 29, 2024
1 parent 625fb0d commit e85b135
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/includes/attributes.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:project-version: 1.1.0
:project-version: 1.2.0
:quarkus-version: 3.7.2

:quarkus-org-url: https://github.com/quarkusio
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/includes/quarkus-unleash.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ a| [[quarkus-unleash_quarkus-unleash-fetch-toggles-interval]]`link:#quarkus-unle

[.description]
--
Fetch toggles interval
Fetch toggles interval (in seconds)

ifdef::add-copy-button-to-env-var[]
Environment variable: env_var_with_copy_button:+++QUARKUS_UNLEASH_FETCH_TOGGLES_INTERVAL+++[]
Expand All @@ -333,7 +333,7 @@ a| [[quarkus-unleash_quarkus-unleash-send-metrics-interval]]`link:#quarkus-unlea

[.description]
--
Send metrics interval
Send metrics interval (in seconds)

ifdef::add-copy-button-to-env-var[]
Environment variable: env_var_with_copy_button:+++QUARKUS_UNLEASH_SEND_METRICS_INTERVAL+++[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ public class UnleashRuntimeTimeConfig {
public Optional<String> environment = Optional.empty();

/**
* Fetch toggles interval
* Fetch toggles interval (in seconds)
*/
@ConfigItem(name = "fetch-toggles-interval", defaultValue = "10")
public long fetchTogglesInterval = 10;

/**
* Send metrics interval
* Send metrics interval (in seconds)
*/
@ConfigItem(name = "send-metrics-interval", defaultValue = "60")
public long sendMetricsInterval = 60;
Expand Down

0 comments on commit e85b135

Please sign in to comment.