mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-05 05:20:34 +00:00
Make database open attempts configurable also via config file
This commit is contained in:
committed by
Andrey Smirnov
parent
586f879e80
commit
98e75f6d97
@@ -40,6 +40,7 @@ Configuration file is stored in JSON format (default values shown below):
|
||||
"downloadSpeedLimit": 0,
|
||||
"downloadRetries": 0,
|
||||
"architectures": [],
|
||||
"databaseOpenAttempts": 10,
|
||||
"dependencyFollowSuggests": false,
|
||||
"dependencyFollowRecommends": false,
|
||||
"dependencyFollowAllVariants": false,
|
||||
@@ -122,6 +123,10 @@ limit in kbytes/sec on download speed while mirroring remote repositories
|
||||
number of retries for download attempts
|
||||
.
|
||||
.TP
|
||||
\fBdatabaseOpenAttempts\fR
|
||||
number of attempts to open DB if it's locked by other instance; could be overridden with option \fB\-db-open-attempts\fR
|
||||
.
|
||||
.TP
|
||||
\fBarchitectures\fR
|
||||
is a list of architectures to process; if left empty defaults to all available architectures; could be overridden with option \fB\-architectures\fR
|
||||
.
|
||||
|
||||
@@ -31,6 +31,7 @@ Configuration file is stored in JSON format (default values shown below):
|
||||
"downloadConcurrency": 4,
|
||||
"downloadSpeedLimit": 0,
|
||||
"downloadRetries": 0,
|
||||
"databaseOpenAttempts": 10,
|
||||
"architectures": [],
|
||||
"dependencyFollowSuggests": false,
|
||||
"dependencyFollowRecommends": false,
|
||||
@@ -105,6 +106,10 @@ Options:
|
||||
* `downloadRetries`:
|
||||
number of retries for download attempts
|
||||
|
||||
* `databaseOpenAttempts`:
|
||||
number of attempts to open DB if it's locked by other instance; could be overridden with option
|
||||
`-db-open-attempts`
|
||||
|
||||
* `architectures`:
|
||||
is a list of architectures to process; if left empty defaults to all available architectures; could be
|
||||
overridden with option `-architectures`
|
||||
|
||||
Reference in New Issue
Block a user