Skip to content

Commit

Permalink
Using the instance of ScriptBackgroundCoroutineDispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Rd4dev committed Jul 19, 2024
1 parent 81bab77 commit 446a916
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ fun main(args: Array<String>) {
val bucketNameOutputFile = File(args[2])
val fileTestTargetsListOutputFile = File(args[3])

val commandExecutor: CommandExecutor =
CommandExecutorImpl(
scriptBgDispatcher, processTimeout = 5, processTimeoutUnit = TimeUnit.MINUTES
)
ScriptBackgroundCoroutineDispatcher().use { scriptBgDispatcher ->
val commandExecutor: CommandExecutor =
CommandExecutorImpl(
scriptBgDispatcher, processTimeout = 5, processTimeoutUnit = TimeUnit.MINUTES
)
}

val bazelClient = BazelClient(rootDirectory, commandExecutor)

Expand Down

0 comments on commit 446a916

Please sign in to comment.