Files
mgmt/lang/interpret_test/TestAstFunc1/resdupefields0.txtar
James Shubin f9bc50e262 engine: Retry should be stateful and add RetryReset
Make the retry meta param a bit more sane now that we can persist it
between graph switches. This also unblocks us from pausing during retry
loops.
2023-09-01 21:57:05 -04:00

28 lines
515 B
Plaintext

-- main.mcl --
test "test" {
anotherstr => "test",
Meta => true ?: struct{
noop => false,
retry => -1,
retryreset => false,
delay => 0,
poll => 5,
limit => 4.2,
burst => 3,
reset => false,
sema => ["foo:1", "bar:3",],
rewatch => false,
realize => true,
reverse => true,
autoedge => true,
autogroup => true,
},
Meta:noop => false,
#Meta:poll => $b ?: 42,
#Meta:autoedge => true,
#Meta:autogroup => false,
}
-- OUTPUT --
# err: errGraph: resource has duplicate meta entry of: noop