[Bug 1756184] Re: Search making excessive requests for snap details and search

2018-03-26 Thread Robert Ancell
I'm about to land a change to master that will use the .desktop file icons when available - this should make it into Bionic and further decrease the server load. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.ne

[Bug 1756184] Re: Search making excessive requests for snap details and search

2018-03-15 Thread Robert Ancell
To enable snapd HTTP debugging: in /etc/environment: SNAPD_DEBUG=1 SNAPD_DEBUG_HTTP=7 and restart snapd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756184 Title: Search making excessive request

[Bug 1756184] Re: Search making excessive requests for snap details and search

2018-03-15 Thread Robert Ancell
** Changed in: gnome-software (Ubuntu) Assignee: (unassigned) => Robert Ancell (robert-ancell) ** Changed in: gnome-software (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.l

[Bug 1756184] Re: Search making excessive requests for snap details and search

2018-03-15 Thread Robert Ancell
https://gitlab.gnome.org/GNOME/gnome-software/merge_requests/31 ** Changed in: gnome-software (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756184 Title:

[Bug 1756184] Re: Search making excessive requests for snap details and search

2018-03-15 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-desktop/gnome-software/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756184 Title: Search making excessive requests for snap details and search To manage notifi

[Bug 1756184] Re: Search making excessive requests for snap details and search

2018-03-15 Thread Robert Ancell
** Changed in: gnome-software (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756184 Title: Search making excessive requests for snap details and

[Bug 1756184] Re: Search making excessive requests for snap details and search

2018-03-17 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-software - 3.28.0-0ubuntu4 --- gnome-software (3.28.0-0ubuntu4) bionic; urgency=medium * debian/patches/0001-Stop-searching-multiple-times-on-search-page.patch: - Stop duplicate search queries (LP: #1756184) -- Robert Ancell Fri, 16 Ma

[Bug 1756184] Re: Search making excessive requests for snap details and search

2018-03-19 Thread Bret Barker
That change only fixes the case of returning from search results (confirmed fixed as above), but not the n+1 API requests for the initial search + details of each result. Note this is particularly noticeable on initial launch where I currently see a total of 80 requests: 5 searches for different s

[Bug 1756184] Re: Search making excessive requests for snap details and search

2018-03-20 Thread Robert Ancell
3.28.0-0ubuntu5 should now not do a detail request for each of the featured snaps (uses the metadata from the search result instead). It will now do a detail lookup the first time you click on a snap. Note that we do still do a detail lookup on each installed snap when you start - this is a long s

[Bug 1756184] Re: Search making excessive requests for snap details and search

2018-03-21 Thread Bret Barker
Much better, thanks Robert! I think we can live with the installed snaps requests for now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1756184 Title: Search making excessive requests for snap det