Add support for timeouts in MozJS wasm bridge

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The MozJS wasm implementation needs the ability to set a timeout that can kill the JS execution if it runs from an arbitrary amount of time. The wasmtime exposes an `epoch_interruption` API which we could use if it proves to cater to our use case. Otherwise we would need to have the host side (mongod/s) handle the timeout and termination logic and forward it to the wasm bridge.

            Assignee:
            Sam Mercier
            Reporter:
            Lee Maguire
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: