aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-07-14 20:39:53 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-07-14 20:39:53 +0300
commitcebb4dd17ae9bfab35210250ab7a5484c644abb0 (patch)
tree0f0b3cc4a72be1b04dd4e05c16032e39bc1717c1 /launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp
parent3becd4386bd49c9c91a72647de10faa16c6d700a (diff)
downloadPrismLauncher-cebb4dd17ae9bfab35210250ab7a5484c644abb0.tar.gz
PrismLauncher-cebb4dd17ae9bfab35210250ab7a5484c644abb0.tar.bz2
PrismLauncher-cebb4dd17ae9bfab35210250ab7a5484c644abb0.zip
made the number of concurrent tasks configurable
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp')
-rw-r--r--launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp b/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp
index a7c22832..3b0528f0 100644
--- a/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp
+++ b/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp
@@ -39,7 +39,7 @@ void ModrinthCheckUpdate::executeTask()
QStringList hashes;
auto best_hash_type = ProviderCaps.hashType(ModPlatform::ResourceProvider::MODRINTH).first();
- ConcurrentTask hashing_task(this, "MakeModrinthHashesTask", 10);
+ ConcurrentTask hashing_task(this, "MakeModrinthHashesTask");
for (auto* mod : m_mods) {
if (!mod->enabled()) {
emit checkFailed(mod, tr("Disabled mods won't be updated, to prevent mod duplication issues!"));