Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6158 Lượt xem

I am making some test on odoo 11 and I just want to use the command line to run my odoo test server

 python odoo -d odoo11 -r odoo --xmlrpc-port 8071 --addons-path="/opt/odoo11/odoo/addons,/opt/odoo11/odoo/community" --workers 9 --log-level debug --proxy-mode --longpolling-port 8079 --max-cron-threads 3

I got this error every few seconds. I search on internet but I can not find any solution. BTW I can not see the speed difference between with and without workers :(

 File "/opt/odoo11/odoo/addons/bus/controllers/main.py", line 37, in poll
  raise Exception("bus.Bus unavailable")
Exception: bus.Bus unavailable
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

There is no speed difference with multiple workers for a single user.

Multiple workers give you better performance when you have MULTIPLE users that exceed the capacity of a single worker.

Google Exception: bus.Bus unavailable github for suggestions on how to resolve this error.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 21
4445
6
thg 3 19
9153
1
thg 3 18
9563
4
thg 2 18
5055
1
thg 12 24
3893