Skip to content

Commit

Permalink
stopping a vm hitting max recursion and running the vms out of ram
Browse files Browse the repository at this point in the history
  • Loading branch information
epsniff authored May 3, 2021
1 parent 2ac029f commit 52beec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

var (
// MaxDepth acts as a guard against potentially recursive queries
MaxDepth = 10000
MaxDepth = 100
// ErrMaxDepth If we hit max depth on recursion
ErrMaxDepth = fmt.Errorf("Recursive Evaluation Error")
// ErrUnknownOp an unrecognized Operator in expression
Expand Down

0 comments on commit 52beec0

Please sign in to comment.