Hi Sergi,

2017-08-28 12:14 GMT+02:00 Sergi Almacellas Abellana <se...@koolpi.com>:

> Currently there is a weird behavior if new modules are installed when
> running multiple instances of trytond (as separate process). The problem is
> that only one process has the updated pool definition and the other process
> will fail with a KeyError when try to get the new created models.
>

We got around this problem by using redis to communicate the information
accross trytond instances :

https://github.com/coopengo/trytond/blob/master/trytond/iwc.py
https://github.com/coopengo/trytond/blob/master/trytond/pool.py#L109

Jean Cavallo
*Coopengo*

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/CAAc4%2BPbdijjC7_76sPmc706i7DBCqrT6MPsGBCJGxZAwGWspJA%40mail.gmail.com.

Reply via email to