You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@alexlarsson pointed out that flatpak should try to re-use avahi contexts when possible because we don't want to clear the cache and ping hosts on the network for every call to ostree_repo_find_remotes_async (if that's what we're currently doing).
It might make sense to change the libostree API to make passing in our own OstreeRepoFinderAvahi object unnecessary (by adding an option to specify which finders to use), and then implement caching of the avahi context in libostree.
It might also make sense to do something similar for OstreeRepoFinderMount; maybe it could cache the GVolumeMonitor if g_volume_monitor_get() is an expensive operation.
Activity
Allow disabling pulling from LAN/USB/Internet
Allow disabling pulling from LAN/USB/Internet
Allow disabling pulling from LAN/USB/Internet
Allow disabling pulling from LAN/USB/Internet
Allow disabling pulling from LAN/USB/Internet
installation: Make fetching remote refs work offline
installation: Make fetching remote refs work offline
installation: Make fetching remote refs work offline
installation: Make fetching remote refs work offline
installation: Make fetching remote refs work offline
installation: Make fetching remote refs work offline
mwleeds commentedon Sep 19, 2019
It might make sense to change the libostree API to make passing in our own
OstreeRepoFinderAvahiobject unnecessary (by adding an option to specify which finders to use), and then implement caching of the avahi context in libostree.It might also make sense to do something similar for
OstreeRepoFinderMount; maybe it could cache theGVolumeMonitorifg_volume_monitor_get()is an expensive operation.mwleeds commentedon Mar 26, 2020
This issue is still a valid possible improvement for libostree, but not part of the current plans for LAN updates: #3476 (comment)