Thread: [pgAdmin][RM5794] Excessive CPU usage while browser is idle
Hi Hackers,
Attached is the patch to stop the indefinite growth of graph dataset. This has caused excessive CPU usage and the patch will reduce it.
Please review.
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"
Attachment
Thanks, patch applied.
On Mon, Sep 7, 2020 at 3:59 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,Attached is the patch to stop the indefinite growth of graph dataset. This has caused excessive CPU usage and the patch will reduce it.Please review.--Thanks,Aditya ToshniwalpgAdmin hacker | Sr. Software Engineer | edbpostgres.com"Don't Complain about Heat, Plant a TREE"
--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Sr. Software Architect
EDB PostgresMobile: +91 976-788-8246
Hi,
In the previous patch, I had changed the react state directly, which is not recommended and can cause unpredictable behavior.
Attached patch changes the previous commit to avoid changing state directly.
Please review.
On Mon, Sep 7, 2020 at 6:48 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Thanks, patch applied.On Mon, Sep 7, 2020 at 3:59 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:Hi Hackers,Attached is the patch to stop the indefinite growth of graph dataset. This has caused excessive CPU usage and the patch will reduce it.Please review.--Thanks,Aditya ToshniwalpgAdmin hacker | Sr. Software Engineer | edbpostgres.com"Don't Complain about Heat, Plant a TREE"
--Thanks & RegardsAkshay JoshipgAdmin Hacker | Sr. Software ArchitectEDB PostgresMobile: +91 976-788-8246
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"