WithExecuteTimeout will set the runtime's execute timeout; default is 0
(timeout uint64)
| 443 | |
| 444 | // WithExecuteTimeout will set the runtime's execute timeout; default is 0 |
| 445 | func WithExecuteTimeout(timeout uint64) Option { |
| 446 | return func(o *Options) { |
| 447 | o.timeout = timeout |
| 448 | } |
| 449 | } |
| 450 | |
| 451 | // WithMemoryLimit will set the runtime memory limit; if not set, it will be unlimit. |
| 452 | func WithMemoryLimit(memoryLimit uint64) Option { |
no outgoing calls