diff --git a/.unreleased/LLT-6859 b/.unreleased/LLT-6859 new file mode 100644 index 000000000..8e4d14822 --- /dev/null +++ b/.unreleased/LLT-6859 @@ -0,0 +1 @@ +Increase max UAPI fail count to reduce the chance of critical errors triggered by transient wireguard-nt errors \ No newline at end of file diff --git a/crates/telio-wg/src/wg.rs b/crates/telio-wg/src/wg.rs index aa20fbd15..2de048396 100644 --- a/crates/telio-wg/src/wg.rs +++ b/crates/telio-wg/src/wg.rs @@ -154,7 +154,7 @@ struct State { last_update: Instant, } -const MAX_UAPI_FAIL_COUNT: i32 = 10; +const MAX_UAPI_FAIL_COUNT: i32 = 100; impl DynamicWg { /// Starts the WireGuard adapter with the given parameters.