pgadmin-org / pgadmin4

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
https://www.pgadmin.org
Other
2.43k stars 638 forks source link

Too many request to update dashboard graphs when server is disconnected. (RM #1165) #166

Closed dpage closed 2 years ago

dpage commented 8 years ago

Issue migrated from Redmine: https://redmine.postgresql.org/issues/1165 Originally created by Karen Blatchley at 2016-05-17 20:41:52 UTC.

During testing I have found when server is disconnected there are too many request for the dashboard graphs has been fired. Attached is the screenshot. If server is in disconnected state we should not send too many requests.

I have also seen Session's grid under Server Activity is not refreshed, it gets refreshed when I change the tab.

Created by Akshay Joshi 2016-05-09

[Dave Page 2016-05-13] The first part should probably be fixed by checking the connection status rather than blindly re-executing the query.

The second part is intentional as auto-refreshing the grid doesn't play nicely with filtering, or (in the future) editing.

dpage commented 8 years ago

Attachment migrated from Redmine: https://redmine.postgresql.org/attachments/download/1156 Originally created by Karen Blatchley at 2016-05-26 11:13:32 UTC.

https://pgadmin-archive.postgresql.org/redmine/1165/1156-Dashboard_Request_Error.png

dpage commented 8 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/1165#note-2 Originally created by Karen Blatchley at 2016-05-26 11:13:43 UTC.

Redmine ticket header update:

Name Old Value New Value
Attachment added Dashboard_Request_Error.png
dpage commented 8 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/1165#note-3 Originally created by Dave Page at 2016-06-03 12:08:02 UTC.

Redmine ticket header update:

Name Old Value New Value
Priority changed Normal Low
dpage commented 7 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/1165#note-4 Originally created by Khushboo Vashi at 2017-06-26 10:24:30 UTC.

Redmine ticket header update:

Name Old Value New Value
Status changed New In Progress
Assigned To changed Khushboo Vashi
dpage commented 7 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/1165#note-5 Originally created by Khushboo Vashi at 2017-07-10 13:15:17 UTC.

The patch submitted.

https://www.postgresql.org/message-id/CAFOhELdpRWqsDXfPBd+Wy1ABUKZ=adzdJOhyF5KkbX6mBJh9eQ@mail.gmail.com

Redmine ticket header update:

Name Old Value New Value
Fixed Version changed 1.6
dpage commented 7 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/1165#note-6 Originally created by Dave Page at 2017-07-10 13:49:58 UTC.

Redmine ticket header update:

Name Old Value New Value
Fixed Version changed 1.6 2.0
dpage commented 7 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/1165#note-7 Originally created by Khushboo Vashi at 2017-07-11 04:16:19 UTC.

The patch updated. https://www.postgresql.org/message-id/CAFOhELf-waob3uWfrBWK70mnU3L-_6COT0yLrp--arBYgbMezg%40mail.gmail.com

dpage commented 7 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/1165#note-8 Originally created by Khushboo Vashi at 2017-07-14 11:42:34 UTC.

Applied in changeset commit:da67963094e2bff82af536fc3f341cc7cd53356a.

Redmine ticket header update:

Name Old Value New Value
Status changed In Progress In Testing
Done Ratio changed 0 90
dpage commented 7 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/1165#note-9 Originally created by Fahar Abbas at 2017-08-07 12:53:40 UTC.

This issue is resolved in Latest Commit:

commit e418cb838730ce186c620cdf39c064eca02a7d61

Tested Platform: MAC 10.9(Python 3.5) Ubuntu 16.04(Python 3.5)

Redmine ticket header update:

Name Old Value New Value
Status changed In Testing Resolved
dpage commented 6 years ago

Comment migrated from Redmine: https://redmine.postgresql.org/issues/1165#note-10 Originally created by Fahar Abbas at 2018-01-09 05:52:56 UTC.

Redmine ticket header update:

Name Old Value New Value
Done Ratio changed 90 100
dpage commented 2 years ago

Issue closed on Redmine.