Agent: added a todo to assess smb connection timeout

This commit is contained in:
vakarisz 2022-03-08 11:31:01 +02:00
parent afc43ae806
commit af9736a8ea
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ class SmbTools(object):
def copy_file( def copy_file(
host, src_path, dst_path, username, password, lm_hash="", ntlm_hash="", timeout=60 host, src_path, dst_path, username, password, lm_hash="", ntlm_hash="", timeout=60
): ):
# TODO assess the 60 second timeout
# monkeyfs has been removed. Fix this in issue #1741 # monkeyfs has been removed. Fix this in issue #1741
# assert monkeyfs.isfile(src_path), "Source file to copy (%s) is missing" % (src_path,) # assert monkeyfs.isfile(src_path), "Source file to copy (%s) is missing" % (src_path,)