Browse Source

Make a use of LOADAVERAGE option in order to avoid excess load

master
belliash 8 years ago
parent
commit
2202509d87
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ezsync

+ 1
- 1
ezsync View File

@@ -184,7 +184,7 @@ done

# Regenerate Portage cache
printInfo "Updating constructed Portage cache..."
run "FEATURES="metadata-transfer" PORTDIR="${PORTAGESDIR}/${PORTAGE_BUILD[0]}" egencache --update --portdir=${PORTAGESDIR}/${PORTAGE_BUILD[0]} --jobs=${MAXJOBS} --tolerant"
run "FEATURES="metadata-transfer" PORTDIR="${PORTAGESDIR}/${PORTAGE_BUILD[0]}" egencache --update --portdir=${PORTAGESDIR}/${PORTAGE_BUILD[0]} --jobs=${MAXJOBS} --load-average=${LOADAVERAGE} --tolerant"
[ ${?} -ne 0 ] && die "EzBuild was unable to regenerate cache!"

# Finally quit the application


Loading…
Cancel
Save