Commit 0579b5de authored by Robert Ricci's avatar Robert Ricci

Upped the number of tries to grab the VLAN lock from 20 to 60. Since

the Intels take so long to apply changes, 20 seconds isn't long enough
when multiple snmpit are run simultaneously.
parent 2a859a70
......@@ -157,7 +157,7 @@ sub portControl($$@) {
#
# Obtain a lock on the VLAN edit buffer. This must be done before VLANs
# are created or removed, or ports are assigned to VLANs. Will retry 20
# are created or removed, or ports are assigned to VLANs. Will retry 60
# times before failing
#
# usage: vlanLock($self)
......@@ -194,7 +194,7 @@ sub vlanLock($) {
# has it locked.
#
my $tries = 1;
my $max_tries = 20;
my $max_tries = 60;
while ($tries <= $max_tries) {
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment