Re: [pgAdmin][RM5794] Excessive CPU usage while browser is idle

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема Re: [pgAdmin][RM5794] Excessive CPU usage while browser is idle
Дата
Msg-id CAM9w-_nAgMea=F9Yk_psM0e=jDb9Q+Cqt3qUzgomNvnRTSOQzw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgAdmin][RM5794] Excessive CPU usage while browser is idle  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Список pgadmin-hackers
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 Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"


--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Sr. Software Architect
EDB Postgres
Mobile: +91 976-788-8246



--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"
Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: Re: Patch for SonarQube code scan fixes.
Следующее
От: Akshay Joshi
Дата:
Сообщение: pgAdmin 4 commit: 1) Changing the state of the react directly is not re