mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
feat(command): implement SSH command retry logic with exponential backoff and logging for better error handling
This commit is contained in:
1 parent
2d135071c7
commit
b6176d905b
2 files changed
+209
-60
No files matched your search
@@ -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' => [
|
||||
|
||||
Reference in new issue
Block a user