From d2ab10ecffebc2d65b12a39e5fde3f6200ca15e3 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 17 May 2015 14:32:01 +0200 Subject: reduced number of mods for which update information is requested at once --- src/modinfo.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 &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 modIDs; -- cgit v1.3.1