mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-28 08:09:42 +01:00
save
This commit is contained in:
parent
bf0c143938
commit
2ad719c396
@ -224,11 +224,9 @@ void InoreaderNetworkFactory::editLabels(const QString& state, bool assign, cons
|
||||
trimmed_ids.append(QString("i=") + simplified_id);
|
||||
}
|
||||
|
||||
QStringList working_subset;
|
||||
QStringList working_subset; working_subset.reserve(std::min(200, trimmed_ids.size()));
|
||||
int timeout = qApp->settings()->value(GROUP(Feeds), SETTING(Feeds::UpdateTimeout)).toInt();
|
||||
|
||||
working_subset.reserve(trimmed_ids.size() > 200 ? 200 : trimmed_ids.size());
|
||||
|
||||
// Now, we perform messages update in batches (max 200 messages per batch).
|
||||
while (!trimmed_ids.isEmpty()) {
|
||||
// We take 200 IDs.
|
||||
|
Loading…
x
Reference in New Issue
Block a user