Skip to content

Commit

Permalink
fix(wasm) disable JIT for proxy_wasm launch
Browse files Browse the repository at this point in the history
Signed-off-by: Hisham Muhammad <hisham@gobolinux.org>
  • Loading branch information
zhongweiy authored and hishamhm committed Nov 16, 2023
1 parent 91d741c commit fb453b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kong/runloop/wasm.lua
Expand Up @@ -927,6 +927,7 @@ function _M.attach(ctx)
proxy_wasm.set_property_getter(properties.get)
proxy_wasm.set_property_setter(properties.set)

jit.off(proxy_wasm.start)
ok, err = proxy_wasm.start()
if not ok then
log(CRIT, "failed to execute ", chain.label, " filter chain for request: ", err)
Expand Down

0 comments on commit fb453b1

Please sign in to comment.