Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
9297 Widoki

I have been working on odoo.sh server (odoo 14 version) and when trying to import records from third party application I am getting the virtual real time limit (935/900s) reached issue.

The server stops and restarts again but not able to continue my process because of this issue.

In normal odoo we could direct make the changes in the rc file accordingly.

But in odoo.sh we do not have any rc file. 

Can anyone please help me to resolve this issue ?


Any help would be appropriated.

Thanks & Regards

Awatar
Odrzuć
Najlepsza odpowiedź

900 seconds is 15 minutes - this is the timeout for Odoo.sh to ensure one User (one process) doesn't tie up the resources of the server.

You can import around 50,000 records in that time - so your code might be inefficient, or there could be customization(s) in the database that slow down record creation. Automated Actions are the biggest cause here - some developers have disabled them prior to import and enabled them after the import.

If your process can't import in less than 15 minutes, you have two options:

  1. import less records
  2. switch to an on-premise deployment where you can increase the timeout
Awatar
Odrzuć
Autor

Okay, Got it.

Thank you so much for the help.

Najlepsza odpowiedź

What would be the best way to export 11M records in one go on Odoo.sh? 

Awatar
Odrzuć

You would need to export these records in batches.

Powiązane posty Odpowiedzi Widoki Czynność
0
sie 22
2847
0
mar 22
2475
2
sie 25
3340
2
paź 24
1651
1
sie 24
3122