Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: Cache / sync issue with workers and geven

by
Maxim Litnitskiy
- 10/20/2016 01:04:58
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) ?

Thanks!

On Thu, Oct 20, 2016 at 7:50 AM, Maxim Litnitskiy <litnimaxster@gmail.com> wrote:
Hi!
I have a setup with web workers (--workers=4) and gevent instance (--workers=0).
So the problem is that data changed from web workers is "invisible" for gevent worker for some time.
Is it expected behaviour?
Thanks.