Skip to content

Commit

Permalink
Reducing send_command loop delay time
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers committed Feb 18, 2015
1 parent 2013ab7 commit 6ea9765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
*.swp
tests/DEVICE_CREDS.py
tests/DEVICE_CREDS.py.orig
tests/test_prep.sh
examples/SECRET_DEVICE_CREDS.py
build
2 changes: 1 addition & 1 deletion netmiko/base_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def send_command(self, command_string, delay_factor=.5, max_loops=30,
while (not_done) and (i <= max_loops):

if DEBUG: print "In while loop"
time.sleep(2*delay_factor)
time.sleep(1*delay_factor)
i += 1

# Keep reading data as long as available (up to max_loops)
Expand Down

0 comments on commit 6ea9765

Please sign in to comment.