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

I am exporting big data 7000 records from res.partner to third party platform via api. I found our that after 150 records anything over close to 120 sec , odoo stop working, as it only tries to load, the whole process of exporting would take 4-5 hours. 

How can I make odoo to keep going until whole process finishes?

I am thinking two options, either allow odoo to override time limitation or perform batch processing using scheduled action, but dont know how to implement it. 

Any suggestion would be much appreciated.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Wasnik Malla,

Try to add "limit_time_real= estimated time to complete your functionality"  in your server config file. (Please restart the odoo service after updating the server file.)

Just like :

    limit_time_real = 10000000


Hope it will help you.

Ảnh đại diện
Huỷ bỏ