scristalli / sql-developer-keepalive

MIT License
149 stars 21 forks source link

Popup dialog is shown EACH time polling happens #30

Closed alexandis closed 3 years ago

alexandis commented 4 years ago

When I set up the extension and leave my computer unattended - after polling interval passed (probably), I get this: Annotation 2020-06-03 194206 I click "OK" to close the popup - but then I see the previous one, close it - and have to close the before-previous... Seems like each time polling happens, a new popup is shown. Oracle SQL Developer 19.4.0.354

camcco05 commented 4 years ago

@alexandis, I'm getting the same error. Thank you for posting this!

bertbert72 commented 3 years ago

The popup should only appear when a connection is being re-established, so this would imply that the connection is being lost before the keep-alive fires. In that case you could easily get several popups - it's not the plug-in that shows these, it's SQL Developer itself. Try making the polling interval smaller and see if this helps.

alexandis commented 3 years ago

The popup should only appear when a connection is being re-established, so this would imply that the connection is being lost before the keep-alive fires. In that case you could easily get several popups - it's not the plug-in that shows these, it's SQL Developer itself. Try making the polling interval smaller and see if this helps.

Yeap, you are right, I guess. And it did help - so before remote connection was closed according to remote settings which I cannot control - "Keep alive" was triggered. I personally chose 5 min.