تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3221 أدوات العرض

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
نوفمبر 22
3440
2
فبراير 22
4173
0
يونيو 21
6006
0
مارس 21
2812
2
يناير 20
21794