Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: Cache / sync issue with workers and geven

by
Maxim Litnitskiy
- 10/20/2016 02:54:25
Thanks for your reply!
Please see attached conf files of my deployment.
And here is the diff

MacBook-Pro-Max:Downloads max$ diff pbx.conf web-workers.conf
19,20c19,20
< limit_memory_hard = 2684354560
< limit_memory_soft = 2147483648
---
> limit_memory_hard = 1500000000
> limit_memory_soft = 1073741824
29c29
< logfile = /srv/odoo/logs/pbx.log
---
> logfile = /srv/odoo/logs/web-workers.log
31,32c31,32
< longpolling_port = 9072
< max_cron_threads = 0
---
> longpolling_port = 8072
> max_cron_threads = 1
36c36
< pidfile = /var/run/odoo/odoo-pbx.pid
---
> pidfile = None
53,54c53,54
< workers = 0
< xmlrpc = False
---
> workers = 4
> xmlrpc = True
56c56
< xmlrpc_port = 123456789
---
> xmlrpc_port = 8069

On Thu, Oct 20, 2016 at 9:43 AM, Stefan Rijnhart <stefan@opener.amsterdam> wrote:
On 20-10-16 07:06, Maxim Litnitskiy wrote:
> Actually I can see changes in WEB UI in both worker and gevent.
> But!
> When I connect a script using odoorpc to worker I get new values.
> When I connect a script using odoorpc to gevent I get old values
> despite that gevent UI shows me new values.
> May be there is something special with value =
> odoo.env['ir.config_parameter'].get_param(param) ?

get_param is not even cached in 8.0. Which version are you using? How do
you deploy?

Regards,
Stefan.

-- 
Opener B.V. - Business solutions driven by open source collaboration

Stefan Rijnhart - Consultant/developer

mail: stefan@opener.am
tel: +31 (0) 20 3090 139
web: https://opener.am

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-framework-62
Post to: mailto:expert-framework@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe