Skip to content

Commit 8403059

Browse files
authored
Update the timeout of argument completer to 10s (#445)
1 parent 233e6d5 commit 8403059

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/ResourceManager/Version2016_09_01/ArgumentCompleters/LocationCompleter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class LocationCompleterAttribute : ArgumentCompleterAttribute
3434
{
3535
private static IDictionary<int, IDictionary<string, ICollection<string>>> _resourceTypeLocationDictionary = new ConcurrentDictionary<int, IDictionary<string, ICollection<string>>>();
3636
private static readonly object _lock = new object();
37-
private static int _timeout = 3;
37+
private static int _timeout = 10;
3838

3939
protected static IDictionary<string, ICollection<string>> ResourceTypeLocationDictionary
4040
{

src/ResourceManager/Version2016_09_01/ArgumentCompleters/ResourceGroupCompleter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class ResourceGroupCompleterAttribute : ArgumentCompleterAttribute
3333
{
3434
private static IDictionary<int, IList<String>> _resourceGroupNamesDictionary = new ConcurrentDictionary<int, IList<string>>();
3535
private static readonly object _lock = new object();
36-
public static int _timeout = 3;
36+
public static int _timeout = 10;
3737

3838
protected static IList<String> ResourceGroupNames
3939
{

src/ResourceManager/Version2016_09_01/ArgumentCompleters/ResourceNameCompleter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters
3636
/// </summary>
3737
public class ResourceNameCompleterAttribute : ArgumentCompleterAttribute
3838
{
39-
private static int _timeout = 3;
39+
private static int _timeout = 10;
4040

4141
/// <summary>
4242
/// Pass in a list of ResourceTypes and this class will provide a list of locations that are common to all ResourceTypes given. This will then be available to the user to tab through.

src/ResourceManager/Version2016_09_01/ArgumentCompleters/ResourceTypeCompleter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class ResourceTypeCompleterAttribute : ArgumentCompleterAttribute
3333
{
3434
private static IDictionary<int, IList<String>> _resourceTypesDictionary = new ConcurrentDictionary<int, IList<string>>();
3535
private static readonly object _lock = new object();
36-
public static int _timeout = 3;
36+
public static int _timeout = 10;
3737

3838
protected static IList<String> ResourceTypes
3939
{

src/ResourceManager/Version2016_09_01/ArgumentCompleters/ScopeCompleter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class ScopeCompleterAttribute : ArgumentCompleterAttribute
3030
{
3131
public static IDictionary<int, IList<string>> _scopeDictionary = new ConcurrentDictionary<int, IList<string>>();
3232
private static readonly object _lock = new object();
33-
public static int _timeout = 3;
33+
public static int _timeout = 10;
3434

3535
protected static IList<String> Scopes
3636
{

0 commit comments

Comments
 (0)