Skip to content

Commit 79fa793

Browse files
ganbarassankhsin
authored andcommitted
Added - Increasing parallel writes for Resource Discovery
1 parent 8f96729 commit 79fa793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/resourcediscovery/export_compartment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ func RunExportCommand(args *tf_export.ExportCommandArgs) (err error, status Stat
300300
numCPU := runtime.NumCPU()
301301
MaxParallelFindResource = numCPU * 4
302302
// max parallel chunks for state genation that can be executed in parallel
303-
MaxParallelChunks = numCPU
303+
MaxParallelChunks = numCPU * 4
304304
utils.Debugf("[INFO] Setting MaxParalleFindResources=%d, MaxParallelChunks=%d", MaxParallelFindResource, MaxParallelChunks)
305305

306306
ctx, err := createResourceDiscoveryContext(clients.(*tf_client.OracleClients), args, tenancyOcid)

0 commit comments

Comments
 (0)