Actions
Bug #6782
closedpkg update can trigger multiple updates per second
Start date:
09/09/2016
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.2
Affected Architecture:
Description
From Renato:
"I took a look on pkg src and did some tests. Every time a remote operation is executed (pkg search, pkg update, pkg upgrade, pkg install, …) it downloads meta.txz and repositories.txz, then it compares with local files and update if it’s necessary.
The only way of avoiding it is using -U or env REPO_AUTOUPDATE=false
So to mitigate the number of requests we have today is to re-work the way pfSense does pkg calls and use REPO_AUTOUPDATE where is possible. But it is not a trivial change, require lots of tests to make sure we are not breaking anything.
Probably the best start point to add it is packages widget."
Actions