feat(command): implement SSH command retry logic with exponential backoff and logging for better error handling

This commit is contained in:
Andras Bacsai committed 2025-09-07 10:26:23 +02:00
1 parent 2d135071c7
commit b6176d905b
2 files changed
+209 -60

No files matched your search

+4
View File
@@ -62,6 +62,10 @@ return [
'connection_timeout' => 10,
'server_interval' => 20,
'command_timeout' => 7200,
'max_retries' => env('SSH_MAX_RETRIES', 3),
'retry_base_delay' => env('SSH_RETRY_BASE_DELAY', 2), // seconds
'retry_max_delay' => env('SSH_RETRY_MAX_DELAY', 30), // seconds
'retry_multiplier' => env('SSH_RETRY_MULTIPLIER', 2),
],
'invitation' => [