@@ -56,15 +56,15 @@ func NewService(lockerProvider LockerProvider, c ConfigProvider) *SelectorServic
5656
5757 svc := & SelectorService {}
5858 loader := & loader {
59- lockerProvider : lockerProvider ,
60- numRetries : cfg .GetNumRetries (),
61- retryInterval : cfg .GetRetryInterval (),
62- requestCertification : true ,
63- onLockerCreated : svc .trackLocker ,
64- maxTokensPerSelection : limits .MaxTokensPerSelection ,
65- maxLockAttempts : limits .MaxLockAttempts ,
66- maxRetryCycles : limits .MaxRetryCycles ,
67- selectionTimeout : limits .SelectionTimeout ,
59+ lockerProvider : lockerProvider ,
60+ numRetries : cfg .GetNumRetries (),
61+ retryInterval : cfg .GetRetryInterval (),
62+ requestCertification : true ,
63+ onLockerCreated : svc .trackLocker ,
64+ maxTokensPerSelection : limits .MaxTokensPerSelection ,
65+ maxLockAttempts : limits .MaxLockAttempts ,
66+ maxRetryCycles : limits .MaxRetryCycles ,
67+ selectionTimeout : limits .SelectionTimeout ,
6868 }
6969 svc .managerLazyCache = lazy .NewProviderWithKeyMapper (key , loader .load )
7070
@@ -129,10 +129,10 @@ type loader struct {
129129 onLockerCreated func (Locker )
130130
131131 // Resource limits
132- maxTokensPerSelection int
133- maxLockAttempts int
134- maxRetryCycles int
135- selectionTimeout time.Duration
132+ maxTokensPerSelection int
133+ maxLockAttempts int
134+ maxRetryCycles int
135+ selectionTimeout time.Duration
136136}
137137
138138func (s * loader ) load (tms * token.ManagementService ) (token.SelectorManager , error ) {
0 commit comments