Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Network latency due to Qt bug when DB Browser is running on macOS #1209
Details for the issue
I was getting some network latency over WIFI on my local network (erratic ~200 ms ping response times on 802.11ac), causing issues in the Synergy app (symless.com). As suggested, I started quitting apps to figure out which could be causing it and I found that it was due to DB Browser. The CEO said that there is a Qt bug that is causing this and provided a code workaround that they implemented that you can use.
Hope this helps.
Useful extra information
I'm opening this issue because:
I'm using DB4S on:
I'm using DB4S version:
I have also:
Just a thought, but the issue only affects connections on WiFi, but the workaround is 'global' - it'll nobble the setting whether you're on wireless or not. I assume thats not going to be a major problem? (its only checking for connectivity changes)
added a commit
Nov 18, 2017
Thanks for pointing this out, @gee4vee. I never would have guessed that there is a problem like this
By the way, I don't set the timer to -1 now because that prints an irritating warning to the console whenever you start the application. Instead I'm setting it to INT_MAX which should give you around 596 hours on most systems between each bad ping value
It definitely doesn't seem like the right approach but likely it's also the only thing we can do... If anybody notices any side effects of this, please point them out.