-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: SSH
-
None
-
7
-
5
Bitbucket uses the Apache SSHD Java library for handling SSH operations.
At the moment there is a hardcoded timeout of 30s for DEFAULT_NIO2_MIN_WRITE_TIMEOUT
This means that the system allows 30 seconds for a write to complete and, if it doesn't, the write times out and the SSH request is aborted.
If for any reason the client pauses/does not consume the output in that time, the operation will end.
Suggestion: Make this property configurable so the timeout can be increased to more than the default 30s