mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Do not use name resolving for --notrim check
This causes a significant delay on servers with many open connections
This commit is contained in:
parent
780457f934
commit
6539dbdbca
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ main() {
|
|||
fi
|
||||
|
||||
# Check to see if --notrim is a valid netstat option
|
||||
if netstat --notrim 2>&1 >/dev/null | grep -q 'unrecognized'; then
|
||||
if netstat --notrim -n 2>&1 >/dev/null | grep -q 'unrecognized'; then
|
||||
NS_NOTRIM=''
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue