Skip to content

MaxExecutionTime ignored #27

Description

@gwillem

The following runs indefinitely:

rt, _ := qjs.New(qjs.Option{MaxExecutionTime: 5000})
result, err := rt.Eval("test.js", qjs.Code(`while (true) {}`))

Probably related to https://github.com/fastschema/qjs/blob/master/qjswasm/helpers.c#L62
Why was that commented out?

Thanks for making QJS!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions