mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Parallelize provider installation (#2729)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
@@ -960,6 +960,8 @@ func (c *InitCommand) getProviders(ctx context.Context, config *configs.Config,
|
||||
}
|
||||
},
|
||||
}
|
||||
// Ensure that events emitted on multiple routines do not trigger race conditions
|
||||
evts = evts.Sync()
|
||||
ctx = evts.OnContext(ctx)
|
||||
|
||||
mode := providercache.InstallNewProvidersOnly
|
||||
|
||||
Reference in New Issue
Block a user