We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faf595d commit c0a577dCopy full SHA for c0a577d
src/main/scala/io/otoroshi/wasm4s/scaladsl/integration.scala
@@ -173,7 +173,7 @@ class WasmIntegration(ic: WasmIntegrationContext) {
173
if (!options.exists(_.immortal)) {
174
val maxDur = options.map(_.maxUnusedDuration).getOrElse(globalNotUsedDuration)
175
val availableVms = pool.availableVms.asScala.toSeq.filter(_.isAquired())
176
- val inUseVms = pool.availabinUseVmsleVms.asScala.toSeq
+ val inUseVms = pool.inUseVms.asScala.toSeq
177
val unusedVms = availableVms.filter(_.hasNotBeenUsedInTheLast(maxDur))
178
val tooMuchMemoryVms = (availableVms ++ inUseVms)
179
.filter(_.consumesMoreThanMemoryPercent(options.map(_.maxMemoryUsage).getOrElse(0.9)))
0 commit comments