Commit Detail
Commit f033828
Add .retryable and .overloaded properties to tunneled exception objects ...based on the `kj::Exception` type. The intent is to provide hints to the worker about whether a failed Durable Object operation should be retried. For "disconnected"-type exceptions, we set the `.retryable` property to true to indicate that the operation's failure is likely transient, and could be retried using best practices, like randomized exponential backoff. For "overloaded"-type exceptions, we set the `.overloaded` property to true to indicate that retrying the operation in the short term will probably fail, and might contribute to further failures. We otherwise leave the properties undefined. Implementation is behind an `ACTOR_EXCEPTION_PROPERTIES` autogate.
Files changed
1 file changed~1 modified
Showing a partial diff list due to runtime limits (time_budget).