-
Bug
-
Resolution: Unresolved
-
Major
-
None
There is no configuration for timeouts. It is required in case a stash host responses too long for REST requests.
Currently the values are hardcoded in
public class StashApiClient { // Connection timeout: maximum time for connecting to the HTTP server. private static final int HTTP_CONNECTION_TIMEOUT_SECONDS = 15; // Socket timeout: maximum period of inactivity between two data packets // arriving to the client once the connection is established. private static final int HTTP_SOCKET_TIMEOUT_SECONDS = 30;
This task is to expose these parameters as plugin configuration fields.