Skip network tuning on CI machines

This commit is contained in:
Michael Vines 2018-08-03 10:05:46 -07:00
parent 57e928d1d0
commit c5ceb15e02
1 changed files with 3 additions and 0 deletions

View File

@ -143,6 +143,9 @@ configure_metrics() {
configure_metrics configure_metrics
tune_networking() { tune_networking() {
# Skip in CI
[[ -z $CI ]] || return 0
# Reference: https://medium.com/@CameronSparr/increase-os-udp-buffers-to-improve-performance-51d167bb1360 # Reference: https://medium.com/@CameronSparr/increase-os-udp-buffers-to-improve-performance-51d167bb1360
if [[ $(uname) = Linux ]]; then if [[ $(uname) = Linux ]]; then
( (