|
NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
|
#364: one node's retry fields exactly as the author wrote them. More...
#include <compiler.h>
Public Attributes | |
| std::optional< int > | attempt_timeout_ms |
| Per-attempt time limit (milliseconds), kMinAttemptTimeoutMs to kMaxAttemptTimeoutMs. | |
| std::optional< double > | backoff_multiplier |
| 1.0-10.0 | |
| std::optional< int > | initial_delay_ms |
| 10-60000 | |
| std::optional< int > | max_delay_ms |
| initial_delay_ms-300000 | |
| std::optional< int > | max_retries |
| 0-10 | |
| std::optional< int > | max_visits |
| 1-100 | |
| std::vector< std::string > | non_retryable |
| Sorted, unique, at most 16 codes. | |
#364: one node's retry fields exactly as the author wrote them.
Nothing is filled in at compile time: the runtime resolves each unset field from the host and graph policies. Bounds are checked by the parser.
Definition at line 83 of file compiler.h.
| std::optional<int> neograph::graph::NodeRetryPolicySpec::attempt_timeout_ms |
Per-attempt time limit (milliseconds), kMinAttemptTimeoutMs to kMaxAttemptTimeoutMs.
A timed-out attempt is cancelled and fails with NG.Timeout, which is retried and routable.
Definition at line 94 of file compiler.h.