Skip to content

Commit

Permalink
fix: wrong initialisation value for wasm call count
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitFicus committed Feb 27, 2024
1 parent 68e80f4 commit a89cbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/io/otoroshi/wasm4s/impl/runtimev2.scala
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ class WasmVmPoolImpl(stableId: => String, optConfig: => Option[WasmConfiguration
private[wasm4s] val availableVms = new ConcurrentLinkedQueue[WasmVmImpl]()
private[wasm4s] val inUseVms = new ConcurrentLinkedQueue[WasmVmImpl]()
private val lastCacheUpdateTime = new AtomicLong(System.currentTimeMillis())
private val lastCacheUpdateCalls = new AtomicLong(System.currentTimeMillis())
private val lastCacheUpdateCalls = new AtomicLong(0L)
private val creatingRef = new AtomicBoolean(false)
private val lastPluginVersion = new AtomicReference[String](null)
private val requestsSource = Source.queue[WasmVmPoolAction](ic.wasmQueueBufferSize, OverflowStrategy.dropTail)
Expand Down

0 comments on commit a89cbb0

Please sign in to comment.