how can i run my application with a limited number...
# coroutines
n
how can i run my application with a limited number of cores? i seem to run into a weird issue on google cloud run probably related to having only 2 vCores
w
We used to have issues with 1 core, overall you can override some defaults by setting system properties like
<http://kotlinx.coroutines.io|kotlinx.coroutines.io>.parallelism
,
kotlinx.coroutines.scheduler
and
kotlinx.coroutines.default.parallelism
. There’s bunch more, I’m not sure if there’s any extensive documentation about them but I also didn’t search
n
hmm, it might just be easier to launch my code in a virtual machine with limited cores