1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
woodpecker/agent/rpc
Harry Pidcock e4ff041882
Improve agent rpc retry logic with exponential backoff (#2205)
Existing retry logic was a simple second delay, replacing it with a
exponential backoff.
Initial delay is 10ms up to 10s for the max delay. In the future this
should be made configurable.

With an extended max delay it becomes important to notice context
cancelation, so this now also selects on both the delay and context
done.
2023-08-18 15:13:13 +02:00
..
auth_client_grpc.go Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
auth_interceptor.go Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
client_grpc.go Improve agent rpc retry logic with exponential backoff (#2205) 2023-08-18 15:13:13 +02:00