Skip to content

Commit 9e6d979

Browse files
author
Daniel Jonsson
committed
Increase timeout length for RunAml command
Increase it from 15 seconds to 2 minutes. Useful when a method takes long time to run, which might be due to its DLL having been deployed recently.
1 parent ce86b56 commit 9e6d979

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ArasSync/Commands/RunAmlCommand.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public override int Run(string[] remainingArguments)
4444
arasDb.Url, arasDb.DbName,
4545
loginInfo.Username, loginInfo.Password);
4646

47-
connection.Timeout = 15000;
47+
connection.Timeout = 2 * 60 * 1000;
4848
connection.Compression = CompressionType.deflate;
4949

5050
var loginItem = connection.Login();

0 commit comments

Comments
 (0)