[core] Set the priority of online requests for existing resource to low

This commit is contained in:
Juha Alanen
2019-11-20 13:39:16 +02:00
parent 69d980cdc1
commit bdd7e53078

View File

@@ -145,6 +145,8 @@ public:
if (offlineResponse->isUsable()) {
callback(*offlineResponse);
// Set the priority of existing resource to low if it's expired but usable.
resource.setPriority(Resource::Priority::Low);
}
}
}