set higher branch quota - describeInstances needs plenty
This commit is contained in:
parent
f0fe3bbb94
commit
079677bb2e
|
@ -1625,6 +1625,8 @@ fn parseInternal(comptime T: type, token: Token, tokens: *TokenStream, options:
|
||||||
var r: T = undefined;
|
var r: T = undefined;
|
||||||
var fields_seen = [_]bool{false} ** structInfo.fields.len;
|
var fields_seen = [_]bool{false} ** structInfo.fields.len;
|
||||||
errdefer {
|
errdefer {
|
||||||
|
// TODO: why so high here? This was needed for ec2 describe instances
|
||||||
|
@setEvalBranchQuota(100000);
|
||||||
inline for (structInfo.fields) |field, i| {
|
inline for (structInfo.fields) |field, i| {
|
||||||
if (fields_seen[i] and !field.is_comptime) {
|
if (fields_seen[i] and !field.is_comptime) {
|
||||||
parseFree(field.field_type, @field(r, field.name), options);
|
parseFree(field.field_type, @field(r, field.name), options);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user