[pgAdmin4][RM3371] Ping endpoint still send a pg4a_session cookie

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема [pgAdmin4][RM3371] Ping endpoint still send a pg4a_session cookie
Дата
Msg-id CAM9w-_=9x+L5S7OUGreVu-je9ADJPJv37uQ5UWqCYtGPw=5G6w@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin4][RM3371] Ping endpoint still send a pg4a_session cookie  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Hi Hackers,

Attached is the patch for fixing RM3371 where /misc/ping service generate session file for each call and so cannot be used frequently.
The patch is to skip session file generation and session caching for the URLs provided in SESSION_SKIP_PATH list config parameter. pg4a_session_cookie value will still be generated but nothing will be stored at the backend.
Also, I have separated the garbage collection code in current ping service to a new url /misc/cleanup. /misc/ping will be purely for is alive check.

Request you to kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"
Вложения

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: [pgAdmin4][Patch]: RM #3397 Add support for JIT stats in EXPLAIN output in PG11
Следующее
От: Dave Page
Дата:
Сообщение: Re: [pgAdmin4][RM#3319] Fix the cancel query button glitch in query tool