[web2py] Re: retrieving GET request (parameters; @service.json)

2022-08-06 Thread Dave S
On Friday, August 5, 2022 at 6:52:00 PM UTC-7 Dave S wrote: > On Wednesday, August 3, 2022 at 12:27:11 PM UTC-7 Vlad wrote: > >> If the following is exposed: >> >> @service.json >> def test(a, b): >> >> >> it works just fine when I submit url?a=val1;b=val2 >> >> but when I submit a

[web2py] Re: Memory leak using Redis for sessions

2022-08-06 Thread Lisandro
It's not a memory leak. You have to run sessions2trash.py periodically, even if you're using Redis and setting and expiration time for every session: https://groups.google.com/g/web2py/c/IFjr-VQoyAE/m/VoihkT1NAgAJ El lunes, 25 de julio de 2022 a la(s) 18:23:37 UTC-3, Lisandro escribió: > I'm

[web2py] Re: Should I run sessions2trash.py even if I use Redis for sessions and set an expiration time?

2022-08-06 Thread Lisandro
I'll try to answer my own question, in case it helps someone else. Yes, you should run sessions2trash periodically, even if you're using Redis and you're setting an expiration time for every session. As the documentation states: *"... when session_expiry is set [...] you should ocassionally run