File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -36,4 +36,4 @@ RIVERBOAT_RIVER_WORKERS_DELETEEXPORTCONTENTWORKER_CONFIG_INTERVAL=""
36
36
RIVERBOAT_RIVER_WORKERS_DELETEEXPORTCONTENTWORKER_CONFIG_OPENLANEAPIHOST = " "
37
37
RIVERBOAT_RIVER_WORKERS_DELETEEXPORTCONTENTWORKER_CONFIG_OPENLANEAPITOKEN = " "
38
38
RIVERBOAT_RIVER_WORKERS_DELETEEXPORTCONTENTWORKER_CONFIG_CUTOFFDURATION = " "
39
- RIVERBOAT_RIVER_MAXRETRIES = " 10"
39
+ RIVERBOAT_RIVER_DEFAULTMAXRETRIES = " 10"
Original file line number Diff line number Diff line change 1
1
refreshInterval : 600000000000
2
2
river :
3
3
databaseHost : postgres://postgres:password@0.0.0.0:5432/jobs?sslmode=disable
4
- maxRetries : 10
4
+ defaultMaxRetries : 10
5
5
queues : null
6
6
workers :
7
7
createCustomDomainWorker :
Original file line number Diff line number Diff line change 48
48
RIVERBOAT_RIVER_WORKERS_DELETEEXPORTCONTENTWORKER_CONFIG_OPENLANEAPIHOST : {{ .Values.riverboat.river.workers.deleteExportContentWorker.config.openlaneAPIHost }}
49
49
RIVERBOAT_RIVER_WORKERS_DELETEEXPORTCONTENTWORKER_CONFIG_OPENLANEAPITOKEN : {{ .Values.riverboat.river.workers.deleteExportContentWorker.config.openlaneAPIToken }}
50
50
RIVERBOAT_RIVER_WORKERS_DELETEEXPORTCONTENTWORKER_CONFIG_CUTOFFDURATION : {{ .Values.riverboat.river.workers.deleteExportContentWorker.config.cutoffDuration }}
51
- RIVERBOAT_RIVER_MAXRETRIES : {{ .Values.riverboat.river.maxRetries | default 10 }}
51
+ RIVERBOAT_RIVER_DEFAULTMAXRETRIES : {{ .Values.riverboat.river.defaultMaxRetries | default 10 }}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Config is the configuration for the river server
56
56
| ** databaseHost** | ` string ` | DatabaseHost for connecting to the postgres database<br />||
57
57
| [ ** queues** ] ( #riverqueues ) | ` array ` |||
58
58
| [ ** workers** ] ( #riverworkers ) | ` object ` | Workers that will be enabled on the server<br />||
59
- | ** maxRetries ** | ` integer ` | DefaultMaxRetries is the maximum number of retries for failed jobs, this can be set differently per job<br />||
59
+ | ** defaultMaxRetries ** | ` integer ` | DefaultMaxRetries is the maximum number of retries for failed jobs, this can be set differently per job<br />||
60
60
61
61
** Additional Properties:** not allowed
62
62
** Example**
Original file line number Diff line number Diff line change 207
207
"$ref" : " #/$defs/river.Workers" ,
208
208
"description" : " Workers to be enabled on the server"
209
209
},
210
- "maxRetries " : {
210
+ "defaultMaxRetries " : {
211
211
"type" : " integer" ,
212
212
"description" : " DefaultMaxRetries is the maximum number of retries for failed jobs, this can be set differently per job"
213
213
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ type Config struct {
18
18
// Workers to be enabled on the server
19
19
Workers Workers `koanf:"workers" json:"workers"`
20
20
// DefaultMaxRetries is the maximum number of retries for failed jobs, this can be set differently per job
21
- DefaultMaxRetries int `koanf:"maxRetries " json:"maxRetries " default:"10"`
21
+ DefaultMaxRetries int `koanf:"defaultMaxRetries " json:"defaultMaxRetries " default:"10"`
22
22
}
23
23
24
24
// Queue is the configuration for a queue
You can’t perform that action at this time.
0 commit comments