anybox / anybox.recipe.odoo

Buildout recipe for Odoo >=8. For older versions please use anybox.recipe.openerp
http://docs.anybox.fr/anybox.recipe.odoo/current/
GNU Affero General Public License v3.0
25 stars 63 forks source link

How to run anybox.recipe.odoo in gevent mode and threaded (workers = 0) #31

Open gmathers opened 9 years ago

gmathers commented 9 years ago

This is more than a question than an issue.

Is there a way to run Odoo from this recipe with gevent longpolling support? I have tried starting both the start_odoo and gevent_odoo scripts with workers = 0 in my cfg file but the longpolling calls 404. When i run only start_odoo with workers = 4, longpolling works but the application is much less responsive.....

Thanks!

petrus-v commented 9 years ago

Hi @gmathers,

Thanks to make interest to that recipe.

When you started gevent_odoo script have you ever set a reverse proxy for /longpolling/ requests?

cf odoo documentation

Hope it helps, Regards