vpilo added a comment.

  In D18896#409742 <https://phabricator.kde.org/D18896#409742>, @jgrulich wrote:
  
  > I would keep the 15s interval, everyone does 15s. Also from what I have 
read, every scan drops your connection for a while, which might be a problem 
for bad wifi drivers, where the scan can take 15+ seconds so doing this more 
often is not a good idea. Other thing I would change is to try to repeat the 
scan if it fails only for the first time (when you open the applet), then I 
don't think it's necessary to keep spamming NetworkManager with our requests.
  
  
  Everyone using 15 seconds for a timeout doesn't mean it's good for the 
users... Anyways, why shouldn't we be doing an attempt every 2 seconds? that's 
not a lot. I could do two things instead:
  
  - double the interval between attempts every time they fail
  - Only run the UI timer when the scan request has been successful

REPOSITORY
  R116 Plasma Network Management Applet

REVISION DETAIL
  https://phabricator.kde.org/D18896

To: vpilo, jgrulich, ngraham, #plasma
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, mart

Reply via email to