コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
11330 ビュー

I knew I can achieve this using a cron, and check record that newly created/writed,  but my question is 

"is base.action.rule run asynchronously?"

like event-driven non blocking coding?


thank you in advance    

アバター
破棄
最善の回答

Waiting for IO is exactly where you gain from async... it's the whole point of it

アバター
破棄
最善の回答

odoo don't implement async or event-driven driven functionality even it's available in python3. and It will not implement in the near future.
we could inject any async function in sequential style coding you have to change the whole codebase for it and for odoo mostly waiting for database IO so didn't get much gain using async implementation.

actually cron job is not executed asynchronously but it's run on separated thread/process so it does not block any main thread/process which are handling HTTP request.




アバター
破棄
最善の回答

Hi  Novan Firmansyah,

You can achieve that by using free module of Job Queue

Thanks.

アバター
破棄
関連投稿 返信 ビュー 活動
0
3月 15
5947
1
10月 23
8396
1
5月 22
4973
0
12月 21
35
2
9月 21
4016