跳至內容
選單
此問題已被標幟
5329 瀏覽次數

Python:

I have some late fee and statement charge scripts that I am running that end up pushing past the 15 minute time limitation for processes Odoo has. I tried to put in the normal multithreading/multiprocessing things python has, but run into problems with the functions not being "pickleable"/ not being able to be serialized. Multiprocessing will spit back an error, and multithreading will just kill the thread once it runs into something that can't be pickled/serialized.

Is there an "odoo - way" of multiprocessing/speeding things up or am I just out of luck and will have to split up the scripts?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 25
968
4
4月 24
173450
0
12月 23
1795
5
2月 25
226035
1
12月 22
2821