Skip to content

Commit b59d614

Browse files
committed
Enable Jobs view by default
1 parent b1dbb6f commit b59d614

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ Default value is `3600` (1h).
5959
If you specify projects that don't appear in the result from the API, a warning will be logged.
6060
Defaults to an empty list if the value is not set or can't be parsed.
6161
* `GCB_JOBS_VIEW` (optional): Enables/disables whether to fetch the data for the currently running pipeline jobs.
62-
Possible values are `enabled` and `disabled`.
63-
Default value is `disabled`.
62+
Possible values are `enabled` and `disabled`.
63+
Default value is `enabled`.
6464
* `GCB_RUNNER_CACHE_TTL_SECS` (optional): You can configure caching for the list of online runners to reduce the load on the Gitlab API.
6565
The provided value must be positive and sets the TTL of cached values in seconds.
6666
Default value is `300` (5m).

src/Config/Config.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ defaults =
194194
& field @"includeSharedProjects" .~ Just Include
195195
& field @"logLevel" .~ Just InfoS
196196
& field @"projectExcludeList" .~ Just []
197-
& field @"jobsView" .~ Just Disabled
197+
& field @"jobsView" .~ Just Enabled
198198

199199
parseConfigFromEnv :: [(String, String)] -> Validation (NonEmpty Text) Config
200200
parseConfigFromEnv env = parseConfig envVarNames errorMessages defaults parse (first EnvVariableName <$> env)

0 commit comments

Comments
 (0)