mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-22 23:10:36 -04:00
AB#2251 Parallel Azure scale set creation (#318)
* Parallel Azure scale set creation Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
f5fe4fe885
commit
8895693ae2
3 changed files with 35 additions and 18 deletions
|
@ -41,6 +41,7 @@ type Client struct {
|
|||
roleAssignmentsAPI
|
||||
applicationInsightsAPI
|
||||
|
||||
pollFrequency time.Duration
|
||||
adReplicationLagCheckInterval time.Duration
|
||||
adReplicationLagCheckMaxRetries int
|
||||
|
||||
|
@ -136,6 +137,7 @@ func NewFromDefault(subscriptionID, tenantID string) (*Client, error) {
|
|||
tenantID: tenantID,
|
||||
workers: cloudtypes.Instances{},
|
||||
controlPlanes: cloudtypes.Instances{},
|
||||
pollFrequency: time.Second * 5,
|
||||
adReplicationLagCheckInterval: adReplicationLagCheckInterval,
|
||||
adReplicationLagCheckMaxRetries: adReplicationLagCheckMaxRetries,
|
||||
}, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue