跳至內容
選單
此問題已被標幟

In my odoo instance, I added routing generation for product during the procurement generation of MOs. Every routing generation lasts more or less 2 or 3 minutes and it is possible that the scheduler will have to manage even 100 products. I think I could just setup limit_time_cpu and limit_time_real to very large values, but I don't really like this solution (side question: is it possible to disable those limits? maybe a -1 or 0 value?)

I suppose the best solution would be to completely change the procurement scheduler in order to use 1 single worker for each procurement/product.

Do I have to change all the way from schedulers_all wizard generating n threads (basically moving the procurements search into the wizard) or there is a better solution?

Any suggestion?

Thanks

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
11月 22
3440
2
2月 22
4173
0
6月 21
6006
0
3月 21
2812
2
1月 20
21794