Skip to content

Commit

Permalink
sequential run
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesward committed Mar 29, 2024
1 parent 071f7f2 commit 9f07c60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions scala-kyo/src/main/scala/EasyRacerClient.scala
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,4 @@ object EasyRacerClient extends KyoApp:
//def scenarios: Seq[(Int => Uri) => String < Fibers] = Seq(scenario10)

run:
val scenariosReady: Seq[String < Fibers] = scenarios.map(s => s(scenarioUrl))

defer:
await(Fibers.parallel(scenariosReady))
Seqs.collect(scenarios.map(s => s(scenarioUrl)))
2 changes: 1 addition & 1 deletion scenario-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ docker build -f Dockerfile-amd64 .
```

```
nix-shell -p graalvm17-ce
nix-shell -p graalvm-ce
NO_STATIC=true ./sbt GraalVMNativeImage/packageBin
```
2 changes: 1 addition & 1 deletion scenario-server/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ enablePlugins(GraalVMNativeImagePlugin)

name := "easyracer-server"

scalaVersion := "3.4.0"
scalaVersion := "3.4.1"

fork := true

Expand Down

0 comments on commit 9f07c60

Please sign in to comment.