mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-10-06 07:32:38 +02:00
Compare commits
2 Commits
deploy-013
...
deploy-013
Author | SHA1 | Date | |
---|---|---|---|
|
f4ad7145db | ||
|
068b450180 |
@@ -99,7 +99,7 @@ public class HttpFetcherImpl implements HttpFetcher, HttpRequestRetryStrategy {
|
||||
.build();
|
||||
|
||||
connectionManager.setDefaultSocketConfig(SocketConfig.custom()
|
||||
.setSoLinger(TimeValue.ofSeconds(15))
|
||||
.setSoLinger(TimeValue.ofSeconds(-1))
|
||||
.setSoTimeout(Timeout.ofSeconds(10))
|
||||
.build()
|
||||
);
|
||||
|
@@ -105,7 +105,9 @@ public abstract class WarcInputBuffer implements AutoCloseable {
|
||||
// Abort the request if the time limit is exceeded
|
||||
// so we don't keep the connection open forever or are forced to consume
|
||||
// the stream to the end
|
||||
request.abort();
|
||||
|
||||
// FIXME: Disable this for now, as it may cause issues with the connection pool
|
||||
// request.abort();
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user