Skip to content

Commit

Permalink
Update the concurrency of the merge to 128 instead of 16 so more reso…
Browse files Browse the repository at this point in the history
…urces can be loaded.
  • Loading branch information
dwursteisen committed Jan 12, 2024
1 parent 0132ed4 commit fa312f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class GameEngine(

resourcesScope.launch {
resources.asFlow()
.flatMapMerge { resource -> resource }
.flatMapMerge(concurrency = 128) { resource -> resource }
.collect(ScriptsCollector(events))
}

Expand Down

0 comments on commit fa312f0

Please sign in to comment.