@@ -33,17 +33,6 @@ public CPSExecutor(VirtualClientComponent component)
33
33
{
34
34
this . ProcessStartRetryPolicy = Policy . Handle < Exception > ( exc => exc . Message . Contains ( "sockwiz" ) ) . Or < VirtualClientException > ( )
35
35
. WaitAndRetryAsync ( 5 , retries => TimeSpan . FromSeconds ( retries * 3 ) ) ;
36
-
37
- this . Parameters . SetIfNotDefined ( nameof ( this . ConnectionDuration ) , 0 ) ;
38
- this . Parameters . SetIfNotDefined ( nameof ( this . DataTransferMode ) , 1 ) ;
39
- this . Parameters . SetIfNotDefined ( nameof ( this . DisplayInterval ) , 10 ) ;
40
- this . Parameters . SetIfNotDefined ( nameof ( this . ConnectionsPerThread ) , 100 ) ;
41
- this . Parameters . SetIfNotDefined ( nameof ( this . MaxPendingRequestsPerThread ) , 100 ) ;
42
- this . Parameters . SetIfNotDefined ( nameof ( this . Port ) , 7201 ) ;
43
- this . Parameters . SetIfNotDefined ( nameof ( this . WarmupTime ) , 8 ) ;
44
- this . Parameters . SetIfNotDefined ( nameof ( this . DelayTime ) , 0 ) ;
45
- this . Parameters . SetIfNotDefined ( nameof ( this . ConfidenceLevel ) , 99 ) ;
46
- this . Parameters . SetIfNotDefined ( nameof ( this . AdditionalParams ) , string . Empty ) ;
47
36
}
48
37
49
38
/// <summary>
@@ -57,17 +46,6 @@ public CPSExecutor(IServiceCollection dependencies, IDictionary<string, IConvert
57
46
this . fileSystem = dependencies . GetService < IFileSystem > ( ) ;
58
47
this . ProcessStartRetryPolicy = Policy . Handle < Exception > ( exc => exc . Message . Contains ( "sockwiz" ) ) . Or < VirtualClientException > ( )
59
48
. WaitAndRetryAsync ( 5 , retries => TimeSpan . FromSeconds ( retries * 3 ) ) ;
60
-
61
- this . Parameters . SetIfNotDefined ( nameof ( this . ConnectionDuration ) , 0 ) ;
62
- this . Parameters . SetIfNotDefined ( nameof ( this . DataTransferMode ) , 1 ) ;
63
- this . Parameters . SetIfNotDefined ( nameof ( this . DisplayInterval ) , 10 ) ;
64
- this . Parameters . SetIfNotDefined ( nameof ( this . ConnectionsPerThread ) , 100 ) ;
65
- this . Parameters . SetIfNotDefined ( nameof ( this . MaxPendingRequestsPerThread ) , 100 ) ;
66
- this . Parameters . SetIfNotDefined ( nameof ( this . Port ) , 7201 ) ;
67
- this . Parameters . SetIfNotDefined ( nameof ( this . WarmupTime ) , 8 ) ;
68
- this . Parameters . SetIfNotDefined ( nameof ( this . DelayTime ) , 0 ) ;
69
- this . Parameters . SetIfNotDefined ( nameof ( this . ConfidenceLevel ) , 99 ) ;
70
- this . Parameters . SetIfNotDefined ( nameof ( this . AdditionalParams ) , string . Empty ) ;
71
49
}
72
50
73
51
/// <summary>
0 commit comments