Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

[13.0] session storage #29

Open
codeagencybe opened this issue Dec 20, 2019 · 2 comments
Open

[13.0] session storage #29

codeagencybe opened this issue Dec 20, 2019 · 2 comments
Assignees

Comments

@codeagencybe
Copy link

Hello

I'm trying the session storage app with redis to see what kind of performance gain it brings, but the config file isn't clear to me.
Do all of these params need to added to the odoo.conf? And do you have an example how to set it properly?
The top part (store, postgres) is not clear to me.

Redis is up and running fine, I can connect to it manually and do CLI operations.
But I don't see any data at all coming from Odoo.

From your documentation:

Store:
session_store_database
session_store_redis

Postgres:
session_store_dbname
session_store_dbtable

Redis:
session_store_prefix
session_store_host
session_store_port
session_store_dbindex
session_store_pass

What I have now (so far), but not sure if this is correct.
session_store_redis = 1
session_store_prefix = odoo
session_store_host = odoodemo-redis
session_store_port = 6379
session_store_dbindex = 1
session_store_pass = mypassword

Thanks.

@abyte20
Copy link

abyte20 commented Apr 29, 2021

Yes, please, how can we configure it?
Thanks and great work!

@Kerrim-
Copy link
Member

Kerrim- commented Dec 30, 2021

I think the configuration looks fine. Is it set as a serverwide module? Also do you have the redis python library installed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants