fix: make libraries cache eternal
This restores the behavior prior to PR #920. Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
6be59b53f1
commit
5ac4e73697
@ -88,6 +88,9 @@ QList<NetAction::Ptr> Library::getDownloads(
|
|||||||
options |= Net::Download::Option::AcceptLocalFiles;
|
options |= Net::Download::Option::AcceptLocalFiles;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Don't add a time limit for the libraries cache entry validity
|
||||||
|
options |= Net::Download::Option::MakeEternal;
|
||||||
|
|
||||||
if(sha1.size())
|
if(sha1.size())
|
||||||
{
|
{
|
||||||
auto rawSha1 = QByteArray::fromHex(sha1.toLatin1());
|
auto rawSha1 = QByteArray::fromHex(sha1.toLatin1());
|
||||||
|
Loading…
Reference in New Issue
Block a user