woodpecker/agent
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
..
rpc Improve agent rpc retry logic with exponential backoff (#2205) 2023-08-18 15:13:13 +02:00
logger.go Refactor agent (#2021) 2023-07-20 20:39:20 +02:00
runner.go Refactor agent (#2021) 2023-07-20 20:39:20 +02:00
state.go Rename to pipeline in DB and JSONs (#1296) 2022-10-22 15:54:43 +02:00
tracer.go Drop deprecated built-in environment variables (#2048) 2023-07-28 14:58:20 +02:00