콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
8198 화면

Hi,

What is the gevent into V8.0 ? How its functioning ?

Can any one help me to understand gevent and its usage and flow ?

아바타
취소
베스트 답변

I don't know if you are still interested in this question after so long time, but I'll try to give some clarifications on the subject.


gevent is multitasking network library for python. 

When started in multitasking mode (with the --workers=N option), odoo will lunch several different processes to treat incomming connections. In such a situation some synchronization between these processes is needed. Here comes in hand the gevent library. If gevent is installed odoo will use it's events mechanism to run processes in synchronized way.


More about gevent you can learn here: http://www.gevent.org/intro.html.


In fact, to activate the gevent mechanism you need to use /usr/bin/openerp-gevent as startup script instead of /usr/bin/odoo.py.


Hope this helps.

아바타
취소
관련 게시물 답글 화면 활동
7
9월 20
7555
1
11월 17
4150
0
11월 16
4078
1
1월 24
32627
3
12월 15
6833