Updated.
This commit is contained in:
parent
8d95dc74a7
commit
7f9a08f3d6
@ -2,5 +2,7 @@ require "lib/core.nom"
|
|||||||
rule [cap at %num instructions] =:
|
rule [cap at %num instructions] =:
|
||||||
lua code ".."
|
lua code ".."
|
||||||
|print("capped at", \(%num))
|
|print("capped at", \(%num))
|
||||||
|local f = function() error("timeout") end
|
|local f = function()
|
||||||
|
| nomsu:error("Execution quota exceeded. Your code took too long.")
|
||||||
|
|end
|
||||||
|debug.sethook(f, "", \(%num))
|
|debug.sethook(f, "", \(%num))
|
||||||
|
Loading…
Reference in New Issue
Block a user