mirror of
https://github.com/theotherp/nzbhydra2.git
synced 2026-02-06 11:17:18 +00:00
parent
1b8a833f5f
commit
f7bd651bc0
@ -205,7 +205,10 @@ public class IndexerChecker {
|
||||
try {
|
||||
logger.info("Will check capabilities of indexer {} using {} concurrent connections and a delay of {}ms", indexerConfig.getName(), capsCheckLimit.maxConnections, capsCheckLimit.delayInMiliseconds);
|
||||
List<Future<SingleCheckCapsResponse>> futures = executor.invokeAll(callables);
|
||||
Future<IndexerConfig.ForbiddenWordPrefix> forbiddenWordPrefixFuture = executor.submit(() -> determineForbiddenWordPrefix(indexerConfig));
|
||||
Future<IndexerConfig.ForbiddenWordPrefix> forbiddenWordPrefixFuture = executor.submit(() -> {
|
||||
Thread.sleep(capsCheckLimit.delayInMiliseconds); //Give indexer some time to breathe
|
||||
return determineForbiddenWordPrefix(indexerConfig);
|
||||
});
|
||||
for (Future<SingleCheckCapsResponse> future : futures) {
|
||||
try {
|
||||
SingleCheckCapsResponse response = future.get(timeout, TimeUnit.SECONDS);
|
||||
|
||||
@ -1,4 +1,10 @@
|
||||
#@formatter:off
|
||||
- version: "v7.14.1"
|
||||
date: "2025-06-02"
|
||||
changes:
|
||||
- type: "fixed"
|
||||
text: "nzb.su / nzb.life caps check should now actually work. I previously didn't have VIP access and couldn't test it. See #990"
|
||||
final: true
|
||||
- version: "v7.14.0"
|
||||
date: "2025-05-30"
|
||||
changes:
|
||||
|
||||
@ -4425,8 +4425,8 @@ angular.module('nzbhydraApp').controller('IndexerConfigSelectionBoxInstanceContr
|
||||
host: "https://nzb.cat"
|
||||
},
|
||||
{
|
||||
name: "nzb.su",
|
||||
host: "https://api.nzb.su"
|
||||
name: "nzb.life",
|
||||
host: "https://api.nzb.life"
|
||||
},
|
||||
{
|
||||
name: "NZBGeek",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -842,8 +842,8 @@ angular.module('nzbhydraApp').controller('IndexerConfigSelectionBoxInstanceContr
|
||||
host: "https://nzb.cat"
|
||||
},
|
||||
{
|
||||
name: "nzb.su",
|
||||
host: "https://api.nzb.su"
|
||||
name: "nzb.life",
|
||||
host: "https://api.nzb.life"
|
||||
},
|
||||
{
|
||||
name: "NZBGeek",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user