summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-05-17 14:32:01 +0200
committerTannin <devnull@localhost>2015-05-17 14:32:01 +0200
commitd2ab10ecffebc2d65b12a39e5fde3f6200ca15e3 (patch)
treeedaef8019c4099df52856761b038f249aab3e732
parent883f4d98947faf4dae10cbacf7b74d33a92a88dd (diff)
reduced number of mods for which update information is requested at once
-rw-r--r--src/modinfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modinfo.cpp b/src/modinfo.cpp
index bbc72c72..33d54c77 100644
--- a/src/modinfo.cpp
+++ b/src/modinfo.cpp
@@ -272,6 +272,10 @@ void ModInfo::checkChunkForUpdate(const std::vector<int> &modIDs, QObject *recei
int ModInfo::checkAllForUpdate(QObject *receiver)
{
+ // technically this should be 255 but those requests can take nexus fairly long, produce
+ // large output and may have been the cause of issue #1166
+ static const int chunkSize = 64;
+
int result = 0;
std::vector<int> modIDs;