diff options
| author | Tannin <devnull@localhost> | 2015-05-17 14:32:01 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-05-17 14:32:01 +0200 |
| commit | d2ab10ecffebc2d65b12a39e5fde3f6200ca15e3 (patch) | |
| tree | edaef8019c4099df52856761b038f249aab3e732 /src/modinfo.cpp | |
| parent | 883f4d98947faf4dae10cbacf7b74d33a92a88dd (diff) | |
reduced number of mods for which update information is requested at once
Diffstat (limited to 'src/modinfo.cpp')
| -rw-r--r-- | src/modinfo.cpp | 4 |
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; |
