Re: Somewhat excessive version checks
От | Magnus Hagander |
---|---|
Тема | Re: Somewhat excessive version checks |
Дата | |
Msg-id | CABUevEw2Y20sJcQ0r7s6Gi72jsVJaKWitsm3yRkF5Phmfu61pg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Somewhat excessive version checks (Khushboo Vashi <khushboo.vashi@enterprisedb.com>) |
Список | pgadmin-hackers |
On Tue, Jan 12, 2021 at 5:59 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote: > > > > On Tue, Jan 12, 2021 at 3:36 AM Magnus Hagander <magnus@hagander.net> wrote: >> >> Hi! >> >> If I read the code correctly, pgadmin will (unless turned off) hit the >> website to check the version.json file for updates *every time it >> starts*. >> >> Wouldn't it make sense to rate limit that to checking say once per 24 >> hours maximum? Or even 48? >> >> It seems nobody needs the update *that* quickly, and AFAICT it does >> call out to make that check synchronously on startup which means the >> user is waiting. >> > Agreed, we should have some mechanism in place to limit the server hit, maybe an asynchronous call from the client whileloading. Seems async front he server would be a better choice there, if you have some ways for that? Otherwise, how to determine which user to trust when storing the result etc? -- Magnus Hagander Me: https://www.hagander.net/ Work: https://www.redpill-linpro.com/
В списке pgadmin-hackers по дате отправления: