Skip to content

Commit 6f7f62c

Browse files
Increase yarn network-timeout from 30s to 60s (#820)
A number of people have reported hitting yarn timeouts on low-spec DO droplets, which causes the build to fail. This should provide a little more leeway
1 parent fa4c815 commit 6f7f62c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/web.template.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ run:
185185
if [ "$version" != "tests-passed" ]; then
186186
rm -rf app/assets/javascripts/node_modules
187187
fi
188+
- su discourse -c 'yarn config set network-timeout 60000 -g'
188189
- su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
189190

190191
- exec:

0 commit comments

Comments
 (0)