save
This commit is contained in:
parent
bf0c143938
commit
2ad719c396
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue