This repository has been archived by the owner on Sep 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
app.conf
558 lines (512 loc) · 22.1 KB
/
app.conf
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
# All application specific configuration should reside here
app {
# The service description namespace
description {
# The name of the service
name = "kg"
}
default-ask-timeout = 5 seconds
default-ask-timeout = ${?DEFAULT_ASK_TIMEOUT}
# Service instance specific settings
instance {
# The default interface to bind to
interface = 127.0.0.1
interface = ${?BIND_INTERFACE}
}
# Http binding settings
http {
# The interface to bind to
interface = ${app.instance.interface}
# The port to bind to
port = 8080
port = ${?BIND_PORT}
# The default uri prefix
prefix = "v1"
prefix = ${?HTTP_PREFIX}
# The service public uri
public-uri = "http://"${app.http.interface}":"${app.http.port}
public-uri = ${?PUBLIC_URI}
}
# Service runtime settings
runtime {
# Arbitrary Future completion timeout
default-timeout = 30 seconds
}
# Cluster specific settings
cluster {
# Duration after which actors are shutdown if they have no interaction
passivation-timeout = 2 seconds
passivation-timeout = ${?PASSIVATION_TIMEOUT}
# Timeout for requests to the distributed data
replication-timeout = 5 seconds
replication-timeout = ${?REPLICATION_TIMEOUT}
# Total number of shards in the cluster
shards = 30
shards = ${?SHARDS}
# The seeds to use for joining a cluster. Should not contain the self address.
# Example: 127.0.0.1:2552,127.0.0.2:2552,127.0.0.3:2552
seeds = ${?SEED_NODES}
}
# Persistence specific settings
persistence {
journal-plugin = "cassandra-journal"
snapshot-store-plugin = "cassandra-snapshot-store"
query-journal-plugin = "cassandra-query-journal"
}
# Instance storage configuration specific settings
storage {
ask-timeout = ${app.default-ask-timeout}
ask-timeout = ${?STORAGE_SEARCH_ASK_TIMEOUT}
# Disk storage configuration
disk {
volume = "/tmp"
volume = ${?VOLUME_PATH}
digest-algorithm = "SHA-256"
digest-algorithm = ${?DIGEST_ALGORITHM}
read-permission = "resources/read"
read-permission = ${?DISK_READ_PERMISSION}
write-permission = "files/write"
write-permission = ${?DISK_WRITE_PERMISSION}
show-location = false
show-location = ${?DISK_SHOW_LOCATION}
# 10 GB (expressed in bytes)
max-file-size = 10737418240
max-file-size = ${?DISK_MAX_FILE_SIZE}
}
# Remote disk storage configuration
remote-disk {
default-endpoint = "http://localhost:8084"
default-endpoint = ${?REMOTE_DISK_DEFAULT_ENDPOINT}
default-endpoint-prefix = "v1"
default-endpoint-prefix = ${?REMOTE_DISK_DEFAULT_ENDPOINT_PREFIX}
default-credentials = ${?REMOTE_DISK_DEFAULT_CREDENTIALS}
digest-algorithm = "SHA-256"
digest-algorithm = ${?DIGEST_ALGORITHM}
read-permission = "resources/read"
read-permission = ${?REMOTE_DISK_READ_PERMISSION}
write-permission = "files/write"
write-permission = ${?REMOTE_DISK_WRITE_PERMISSION}
show-location = true
show-location = ${?REMOTE_DISK_SHOW_LOCATION}
# 10 GB (expressed in bytes)
max-file-size = 10737418240
max-file-size = ${?REMOTE_DISK_MAX_FILE_SIZE}
}
# Amazon S3 storage configuration
amazon {
digest-algorithm = "SHA-256"
digest-algorithm = ${?DIGEST_ALGORITHM}
read-permission = "resources/read"
read-permission = ${?S3_READ_PERMISSION}
write-permission = "files/write"
write-permission = ${?S3_WRITE_PERMISSION}
show-location = true
show-location = ${?S3_SHOW_LOCATION}
# 10 GB (expressed in bytes)
max-file-size = 10737418240
max-file-size = ${?S3_MAX_FILE_SIZE}
}
# File attributes retry configuration
file-attr-retry {
# possible values are: "never", "once","constant" and "exponential"
strategy = "exponential"
strategy = ${?FILE_ATTR_FETCH_RETRY_STRATEGY}
# the initial delay before retrying that will be multiplied with the 'factor' for each attempt
initial-delay = 300 milliseconds
initial-delay = ${?FILE_ATTR_FETCH_RETRY_INITIAL_DELAY}
# the maximum delay applied to the retrying strategy
max-delay = 10 seconds
max-delay = ${?FILE_ATTR_FETCH_RETRY_MAX_DELAY}
# maximum number of retries in case of failure (applicable for strategy "exponential" and "constant")
max-retries = 1000
max-retries = ${?FILE_ATTR_FETCH_RETRY_MAX_RETRIES}
# the constant increment (applicable only for strategy "constant")
constant = 1 second
constant = ${?FILE_ATTR_FETCH_RETRY_CONSTANT}
}
# the indexing process dealing with attributes computation
indexing {
# Maximum number of events taken on each batch
batch = 10
batch = ${?INDEXING_FILE_ATTR_BATCH}
# Maximum amount of time to wait for the number of events to be taken on each batch
batch-timeout = 300 millis
batch-timeout = ${?INDEXING_FILE_ATTR_BATCH_TIMEOUT}
retry {
# possible values are: "never", "once","constant" and "exponential"
strategy = "exponential"
strategy = ${?INDEXING_FILE_ATTR_RETRY_STRATEGY}
# the initial delay before retrying that will be multiplied with the 'factor' for each attempt
initial-delay = 100 milliseconds
initial-delay = ${?INDEXING_FILE_ATTR_RETRY_INITIAL_DELAY}
# the maximum delay applied to the retrying strategy
max-delay = 3 minutes
max-delay = ${?INDEXING_FILE_ATTR_RETRY_MAX_DELAY}
# maximum number of retries in case of failure (applicable for strategy "exponential" and "constant")
max-retries = 30
max-retries = ${?INDEXING_FILE_ATTR_RETRY_MAX_RETRIES}
# the constant increment (applicable only for strategy "constant")
constant = 500 millisecond
constant = ${?INDEXING_FILE_ATTR_RETRY_CONSTANT}
}
# indexing progress persistence settings
progress {
# number of events after which the indexing progress is being persisted
persist-after-processed = 5000
persist-after-processed = ${?INDEXING_FILE_ATTR_PROGRESS_EVENTS}
# amount of time after which the indexing progress is being persisted
max-time-window = 2 minutes
max-time-window = ${?INDEXING_FILE_ATTR_PROGRESS_TIME}
}
}
# Password and salt used to encrypt credentials at rest
password = "changeme"
password = ${?STORAGE_PASSWORD}
salt = "salt"
salt = ${?STORAGE_SALT}
}
# Nexus-admin settings
admin {
# The public iri to the admin service
public-iri = "http://localhost:8080"
public-iri = ${?ADMIN_PUBLIC_IRI}
# The internal iri to the admin service
internal-iri = "http://localhost:8080"
internal-iri = ${?ADMIN_INTERNAL_IRI}
# The version prefix
prefix = "v1"
prefix = ${?ADMIN_PREFIX}
}
iam {
# The public iri to the iam service
public-iri = "http://localhost:8080"
public-iri = ${?IAM_PUBLIC_IRI}
# The internal iri to the iam service
internal-iri = "http://localhost:8080"
internal-iri = ${?IAM_INTERNAL_IRI}
# The version prefix
prefix = "v1"
prefix = ${?IAM_PREFIX}
# The service account token to execute calls to IAM
service-account-token = ${?IAM_SA_TOKEN}
# The delay for retrying after completion on SSE
sse-retry-delay = 1 second
sse-retry-delay = ${?IAM_SSE_RETRY_DELAY}
}
# Sparql endpoint specific settings
sparql {
# The base uri to the sparql http endpoint
base = "http://localhost:9999/bigdata"
base = ${?SPARQL_BASE_URI}
# Index prefix (keyspace) for indexing
index-prefix = "kg"
index-prefix = ${?SPARQL_PREFIX_INDEX}
# The optional basic auth credentials to access the endpoint
username = ${?SPARQL_USERNAME}
password = ${?SPARQL_PASSWORD}
# Sparql default index
default-index = "kg"
ask-timeout = ${app.default-ask-timeout}
ask-timeout = ${?SPARQL_ASK_TIMEOUT}
# Sparql query retry configuration
query {
# possible values are: "never", "once","constant" and "exponential"
strategy = "exponential"
strategy = ${?QUERYING_SPARQL_RETRY_STRATEGY}
# the initial delay before retrying that will be multiplied with the 'factor' for each attempt
initial-delay = 100 milliseconds
initial-delay = ${?QUERYING_SPARQL_RETRY_INITIAL_DELAY}
# the maximum delay applied to the retrying strategy
max-delay = 1 minutes
max-delay = ${?QUERYING_SPARQL_RETRY_MAX_DELAY}
# maximum number of retries in case of failure (applicable for strategy "exponential" and "constant")
max-retries = 4
max-retries = ${?QUERYING_SPARQL_RETRY_MAX_RETRIES}
# the constant increment (applicable only for strategy "constant")
constant = 500 millisecond
constant = ${?QUERYING_SPARQL_RETRY_CONSTANT}
}
# Sparql indexing configuration
indexing {
# Maximum number of events taken on each batch
batch = 10
batch = ${?INDEXING_SPARQL_BATCH}
# Maximum amount of time to wait for the number of events to be taken on each batch
batch-timeout = 300 millis
batch-timeout = ${?INDEXING_SPARQL_BATCH_TIMEOUT}
retry {
# possible values are: "never", "once","constant" and "exponential"
strategy = "exponential"
strategy = ${?INDEXING_SPARQL_RETRY_STRATEGY}
# the initial delay before retrying that will be multiplied with the 'factor' for each attempt
initial-delay = 100 milliseconds
initial-delay = ${?INDEXING_SPARQL_RETRY_INITIAL_DELAY}
# the maximum delay applied to the retrying strategy
max-delay = 3 minutes
max-delay = ${?INDEXING_SPARQL_RETRY_MAX_DELAY}
# maximum number of retries in case of failure (applicable for strategy "exponential" and "constant")
max-retries = 30
max-retries = ${?INDEXING_SPARQL_RETRY_MAX_RETRIES}
# the constant increment (applicable only for strategy "constant")
constant = 500 millisecond
constant = ${?INDEXING_SPARQL_RETRY_CONSTANT}
}
# indexing progress persistence settings
progress {
# number of events after which the indexing progress is being persisted
persist-after-processed = 5000
persist-after-processed = ${?INDEXING_SPARQL_PROGRESS_EVENTS}
# amount of time after which the indexing progress is being persisted
max-time-window = 2 minutes
max-time-window = ${?INDEXING_SPARQL_PROGRESS_TIME}
}
}
}
# ElasticSearch endpoint specific settings
elastic-search {
# The base uri to the ElasticSearch http endpoint
base = "http://localhost:9200"
base = ${?ELASTIC_SEARCH_BASE_URI}
# Index prefix (namespace) for indexing
index-prefix = "kg"
index-prefix = ${?ELASTIC_SEARCH_PREFIX_INDEX}
# ElasticSearch default index
default-index = "kg_default"
ask-timeout = ${app.default-ask-timeout}
ask-timeout = ${?ELASTIC_SEARCH_ASK_TIMEOUT}
# ElasticSearch query retry configuration
query {
# possible values are: "never", "once","constant" and "exponential"
strategy = "exponential"
strategy = ${?QUERYING_ELASTIC_SEARCH_RETRY_STRATEGY}
# the initial delay before retrying that will be multiplied with the 'factor' for each attempt
initial-delay = 100 milliseconds
initial-delay = ${?QUERYING_ELASTIC_SEARCH_RETRY_INITIAL_DELAY}
# the maximum delay applied to the retrying strategy
max-delay = 1 minutes
max-delay = ${?QUERYING_ELASTIC_SEARCH_RETRY_MAX_DELAY}
# maximum number of retries in case of failure (applicable for strategy "exponential" and "constant")
max-retries = 4
max-retries = ${?QUERYING_ELASTIC_SEARCH_RETRY_MAX_RETRIES}
# the constant increment (applicable only for strategy "constant")
constant = 500 millisecond
constant = ${?QUERYING_ELASTIC_SEARCH_RETRY_CONSTANT}
}
# Elastic Search indexing configuration
indexing {
# Maximum number of events taken on each batch
batch = 30
batch = ${?INDEXING_ELASTICSEARCH_BATCH}
# Maximum amount of time to wait for the number of events to be taken on each batch
batch-timeout = 300 millis
batch-timeout = ${?INDEXING_ELASTICSEARCH_BATCH_TIMEOUT}
retry {
# possible values are: "never", "once","constant" and "exponential"
strategy = "exponential"
strategy = ${?INDEXING_ELASTICSEARCH_RETRY_STRATEGY}
# the initial delay before retrying that will be multiplied with the 'factor' for each attempt
initial-delay = 100 milliseconds
initial-delay = ${?INDEXING_ELASTICSEARCH_RETRY_INITIAL_DELAY}
# the maximum delay applied to the retrying strategy
max-delay = 3 minutes
max-delay = ${?INDEXING_ELASTICSEARCH_RETRY_MAX_DELAY}
# maximum number of retries in case of failure (applicable for strategy "exponential" and "constant")
max-retries = 30
max-retries = ${?INDEXING_ELASTICSEARCH_RETRY_MAX_RETRIES}
# the constant increment (applicable only for strategy "constant")
constant = 500 millisecond
constant = ${?INDEXING_ELASTICSEARCH_RETRY_CONSTANT}
}
# indexing progress persistence settings
progress {
# number of events after which the indexing progress is being persisted
persist-after-processed = 5000
persist-after-processed = ${?INDEXING_ELASTICSEARCH_PROGRESS_EVENTS}
# amount of time after which the indexing progress is being persisted
max-time-window = 2 minutes
max-time-window = ${?INDEXING_ELASTICSEARCH_PROGRESS_TIME}
}
}
}
composite {
# the maximum number of sources allowed
max-sources = 5
max-sources = ${?COMPOSITE_MAX_SOURCES}
# the maximum number of projections allowed
max-projections = 5
max-projections = ${?COMPOSITE_MAX_PROJECTIONS}
# the minimum allowed value for interval rebuild
min-interval-rebuild = 5 minutes
min-interval-rebuild = ${?COMPOSITE_MIN_REBUILD_INTERVAL}
# Password and salt used to encrypt token
password = "changeme"
password = ${?COMPOSITE_TOKEN_PASSWORD}
salt = "salt"
salt = ${?OMPOSITE_TOKEN_SALT}
}
# Default pagination information
pagination {
# Default page size
default-size = 20
default-size = ${?PAGINATION_DEFAULT_SIZE}
# Maximum page size allowed
size-limit = 100
size-limit = ${?PAGINATION_MAX_SIZE}
# Maximum `from` parameter value
from-limit = 10000
from-limit = ${?PAGINATION_MAX_FROM}
}
# default aggregate configuration
aggregate {
# the maximum duration to wait for an aggregate to reply
ask-timeout = 10 seconds
ask-timeout = ${?AGGREGATE_ASK_TIMEOUT}
# the journal plugin used to create event streams for arbitrary replays
query-journal-plugin = ${app.persistence.query-journal-plugin}
query-journal-plugin = ${?AGGREGATE_QUERY_JOURNAL_PLUGIN}
# the maximum duration before a command evaluation times out
command-evaluation-timeout = 5 seconds
command-evaluation-timeout = ${?AGGREGATE_COMMAND_EVALUATION_TIMEOUT}
# the execution context where commands are being evaluated; possible values are "akka" and "global"
command-evaluation-execution-context = "global"
command-evaluation-execution-context = ${?AGGREGATE_COMMAND_EVALUATION_EXECUTION_CONTEXT}
# the total number of shards to allocate
shards = 10
shards = ${?AGGREGATE_SHARDS}
# the aggregate actor passivation strategy
passivation {
# duration since the last received message after which the aggregate actors should shut down (0 - disabled)
lapsed-since-last-interaction = 5 seconds
lapsed-since-last-interaction = ${?AGGREGATE_LAST_INTERACTION_PASSIVATION_TIMEOUT}
# duration since the aggregate actors' recovery after which they should shut down (0 - disabled)
lapsed-since-recovery-completed = 0 milliseconds
lapsed-since-recovery-completed = ${?AGGREGATE_RECOVERY_PASSIVATION_TIMEOUT}
}
retry {
# the retry strategy to use; possible values are: "never", "once","constant" and "exponential"
strategy = "exponential"
strategy = ${?AGGREGATE_RETRY_STRATEGY}
# the initial delay before retrying that will be multiplied with the 'factor' for each attempt
# (applicable only for strategy "exponential")
initial-delay = 100 milliseconds
initial-delay = ${?AGGREGATE_RETRY_INITIAL_DELAY}
# the maximum delay applied to the retrying strategy
max-delay = 10 minutes
max-delay = ${?AGGREGATE_RETRY_MAX_DELAY}
# maximum number of retries in case of failure (applicable for strategy "exponential" and "constant")
max-retries = 10
max-retries = ${?AGGREGATE_RETRY_MAX_RETRIES}
# the constant increment (applicable only for strategy "constant")
constant = 500 millisecond
constant = ${?AGGREGATE_RETRY_CONSTANT}
}
}
# default key value store configuration
key-value-store {
# the maximum duration to wait for the replicator to reply
ask-timeout = 10 seconds
ask-timeout = ${?KEY_VALUE_STORE_ASK_TIMEOUT}
# the maximum duration to wait for a consistent read or write across the cluster
consistency-timeout = 10 seconds
consistency-timeout = ${?KEY_VALUE_STORE_CONSISTENCY_TIMEOUT}
# retry strategy
retry {
# possible values are: "never", "once","constant" and "exponential"
strategy = "exponential"
strategy = ${?KEY_VALUE_STORE_RETRY_STRATEGY}
# the initial delay before retrying that will be multiplied with the 'factor' for each attempt
initial-delay = 100 milliseconds
initial-delay = ${?KEY_VALUE_STORE_RETRY_INITIAL_DELAY}
# the maximum delay applied to the retrying strategy
max-delay = 10 minutes
max-delay = ${?KEY_VALUE_STORE_RETRY_MAX_DELAY}
# maximum number of retries in case of failure (applicable for strategy "exponential" and "constant")
max-retries = 10
max-retries = ${?KEY_VALUE_STORE_RETRY_MAX_RETRIES}
# the constant increment (applicable only for strategy "constant")
constant = 500 millisecond
constant = ${?KEY_VALUE_STORE_RETRY_CONSTANT}
}
# Indexing keyvalue-store configuration
indexing {
# Maximum number of events taken on each batch
batch = 5
batch = ${?INDEXING_KEY_VALUE_STORE_BATCH}
# Maximum amount of time to wait for the number of events to be taken on each batch
batch-timeout = 300 millis
batch-timeout = ${?INDEXING_KEY_VALUE_STORE_BATCH_TIMEOUT}
retry {
# possible values are: "never", "once","constant" and "exponential"
strategy = "exponential"
strategy = ${?INDEXING_KEY_VALUE_STORE_RETRY_STRATEGY}
# the initial delay before retrying that will be multiplied with the 'factor' for each attempt
initial-delay = 100 milliseconds
initial-delay = ${?INDEXING_KEY_VALUE_STORE_RETRY_INITIAL_DELAY}
# the maximum delay applied to the retrying strategy
max-delay = 3 minutes
max-delay = ${?INDEXING_KEY_VALUE_STORE_RETRY_MAX_DELAY}
# maximum number of retries in case of failure (applicable for strategy "exponential" and "constant")
max-retries = 30
max-retries = ${?INDEXING_KEY_VALUE_STORE_RETRY_MAX_RETRIES}
# the constant increment (applicable only for strategy "constant")
constant = 500 millisecond
constant = ${?INDEXING_KEY_VALUE_STORE_RETRY_CONSTANT}
}
# indexing progress persistence settings
progress {
# number of events after which the indexing progress is being persisted
persist-after-processed = 5000
persist-after-processed = ${?INDEXING_KEY_VALUE_STORE_PROGRESS_EVENTS}
# amount of time after which the indexing progress is being persisted
max-time-window = 2 minutes
max-time-window = ${?INDEXING_KEY_VALUE_STORE_PROGRESS_TIME}
}
}
}
# archive cache configuration
archives {
# the time resource is kept in the archive cache before being invalidated
cache-invalidate-after = 5 hours
cache-invalidate-after = ${?ARCHIVES_CACHE_INVALIDATE_AFTER}
# the maximum number of resources that can be contain in the archive
max-resources = 1000
max-resources = ${?ARCHIVES_MAX_RESOURCES}
cache {
# the maximum accepted delay for waiting for a response from the group cache
ask-timeout = 15 seconds
ask-timeout = ${?ARCHIVES_CACHE_ASK_TIMEOUT}
# the maximum duration before a command evaluation times out
command-evaluation-timeout = 5 seconds
command-evaluation-timeout = ${?ARCHIVES_CACHE_CACHE_COMMAND_EVALUATION_TIMEOUT}
# the execution context where commands are being evaluated; possible values are "akka" and "global"
command-evaluation-execution-context = "akka"
command-evaluation-execution-context = ${?ARCHIVES_CACHE_CACHE_COMMAND_EVALUATION_EXECUTION_CONTEXT}
shards = 10
shards = ${?ARCHIVES_CACHE_CACHE_SHARDS}
invalidation {
# duration since the last received message after which the aggregate actors should shut down (0 - disabled)
lapsed-since-last-interaction = ${app.archives.cache-invalidate-after}
# flag to decide whether or not the invalidation timer is influenced by the reception of a get state message
influence-invalidation-on-get = false
}
# retry configuration for fetching the user info & cache
retry {
# possible values are: "never", "once" "constant" and "exponential"
strategy = "once"
strategy = ${?ARCHIVES_CACHE_RETRY_STRATEGY}
# the initial delay before retrying that will be multiplied with the 'factor' for each attempt
initial-delay = 0 seconds
initial-delay = ${?ARCHIVES_CACHE_RETRY_INITIAL_DELAY}
# the maximum delay applied to the retrying strategy
max-delay = 5 seconds
max-delay = ${?ARCHIVES_CACHE_RETRY_MAX_DELAY}
# maximum number of retries in case of failure (applicable only for strategy "exponential")
max-retries = 7
max-retries = ${?ARCHIVES_CACHE_RETRY_MAX_RETRIES}
# the constant increment (applicable only for strategy "constant")
constant = 500 milliseconds
constant = ${?ARCHIVES_CACHE_RETRY_CONSTANT}
}
}
}
}