mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## What changed? <!-- Describe what has changed in this PR --> Added a diagram to the retries.md docs. ## Why? <!-- Tell your future self why have you made these changes --> To make it clearer what's going on. ## How did you test it? <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> ## Potential risks <!-- Assuming the worst case, what can be broken when deploying this change to production? --> ## Documentation <!-- Have you made sure this change doesn't falsify anything currently stated in `docs/`? If significant new behavior is added, have you described that in `docs/`? --> ## Is hotfix candidate? <!-- Is this PR a hotfix candidate or does it require a notification to be sent to the broader community? (Yes/No) -->
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
# https://d2lang.com
|
|
# Generate SVG by running `make` inside of `docs/`.
|
|
|
|
classes: {
|
|
invisible: {
|
|
style.opacity: 0
|
|
label: a
|
|
}
|
|
textonly: {
|
|
label: ""
|
|
style.stroke: transparent
|
|
style.fill: transparent
|
|
}
|
|
}
|
|
|
|
Client
|
|
|
|
Server: {
|
|
label: ""
|
|
grid-columns: 3
|
|
horizontal-gap: 120
|
|
class: textonly
|
|
|
|
Frontend: {
|
|
grid-columns: 3
|
|
vertical-gap: 70
|
|
|
|
Interceptor: { label: "🔁 gRPC interceptor" }
|
|
Handlers: {
|
|
label: "..."
|
|
style.multiple: true
|
|
}
|
|
Client: { label: "🔁 History client" }
|
|
}
|
|
History: {
|
|
grid-columns: 2
|
|
vertical-gap: 70
|
|
|
|
Interceptor: { label: "🔁 gRPC interceptor" }
|
|
Handlers: {
|
|
label: "..."
|
|
style.multiple: true
|
|
}
|
|
}
|
|
}
|
|
|
|
Client -> Server.Frontend.Interceptor: gRPC call
|
|
Server.Frontend.Interceptor -> Server.Frontend.Handlers
|
|
Server.Frontend.Handlers -> Server.Frontend.Client
|
|
Server.Frontend.Client -> Server.History.Interceptor: gRPC call
|
|
Server.History.Interceptor -> Server.History.Handlers |