Skip to content

Commit eda30c3

Browse files
committed
mirroring needs to honor API timeout too
1 parent 8f77a81 commit eda30c3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker/sync.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ commands:
88
tags: ['%PROJECT%']
99
text: resync + reindex in progress
1010
- command:
11-
args: [opengrok-mirror, -c, '/opengrok/etc/mirror.yml', -I, -U, '%URL%', '%PROJECT%']
11+
args: [opengrok-mirror, -c, '/opengrok/etc/mirror.yml',
12+
--api_timeout, '%API_TIMEOUT%',
13+
-I, -U, '%URL%', '%PROJECT%']
14+
args_subst: {"%API_TIMEOUT%": "$API_TIMEOUT"}
1215
- command:
1316
args: [opengrok-reindex-project, --printoutput,
1417
--api_timeout, '%API_TIMEOUT%',

0 commit comments

Comments
 (0)