mirror of
https://github.com/rclone/rclone.git
synced 2025-01-13 20:38:12 +02:00
build: fix build lockup by increasing GOMAXPROCS - Fixes #3154
It was discovered after lots of experimentation that the cmd/mount tests have a tendency to lock up if GOMAXPROCS=1 or 2. Since the Travis builders only have 2 vCPUs by default, this happens on the build server very often. This workaround increases GOMAXPROCS to make the mount test lockup less likely. Ideally this should be fixed in the mount tests at some point.
This commit is contained in:
parent
92bbae5cca
commit
12c2a750f5
@ -31,6 +31,7 @@ install:
|
||||
env:
|
||||
global:
|
||||
- GOTAGS=cmount
|
||||
- GOMAXPROCS=8 # workaround for cmd/mount tests locking up - see #3154
|
||||
- GO111MODULE=off
|
||||
- GITHUB_USER=ncw
|
||||
- secure: gU8gCV9R8Kv/Gn0SmCP37edpfIbPoSvsub48GK7qxJdTU628H0KOMiZW/T0gtV5d67XJZ4eKnhJYlxwwxgSgfejO32Rh5GlYEKT/FuVoH0BD72dM1GDFLSrUiUYOdoHvf/BKIFA3dJFT4lk2ASy4Zh7SEoXHG6goBlqUpYx8hVA=
|
||||
|
Loading…
Reference in New Issue
Block a user