Commit 0c4645b 1 parent ab2ce86 commit 0c4645b Copy full SHA for 0c4645b
File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -62,24 +62,18 @@ func (w *WorkPool) InputPool(templateType types.ProtocolType) *syncutil.Adaptive
62
62
}
63
63
64
64
func (w * WorkPool ) RefreshWithConfig (config WorkPoolConfig ) {
65
- changedValues := make (map [string ]int )
66
65
if w .config .TypeConcurrency != config .TypeConcurrency {
67
66
w .config .TypeConcurrency = config .TypeConcurrency
68
- changedValues ["TypeConcurrency" ] = config .TypeConcurrency
69
67
}
70
68
if w .config .HeadlessTypeConcurrency != config .HeadlessTypeConcurrency {
71
69
w .config .HeadlessTypeConcurrency = config .HeadlessTypeConcurrency
72
70
}
73
71
if w .config .InputConcurrency != config .InputConcurrency {
74
72
w .config .InputConcurrency = config .InputConcurrency
75
- changedValues ["InputConcurrency" ] = config .InputConcurrency
76
73
}
77
74
if w .config .HeadlessInputConcurrency != config .HeadlessInputConcurrency {
78
75
w .config .HeadlessInputConcurrency = config .HeadlessInputConcurrency
79
76
}
80
- if len (changedValues ) > 0 {
81
- gologger .Info ().Msgf ("Workpool configuration changed: %v" , changedValues )
82
- }
83
77
w .Refresh (context .Background ())
84
78
}
85
79
You can’t perform that action at this time.
0 commit comments