Increase backup cron time limit to 1 hour
- Default 120s timeout was too short for large SFTP uploads - Set time_limit to 3600s (1 hour) to prevent incomplete backups - Fixes timeout during SFTP upload causing server reload
This commit is contained in:
parent
00df958985
commit
23b9867eec
|
|
@ -12,5 +12,6 @@
|
|||
<field name="model_id" ref="model_db_backup" />
|
||||
<field name="state">code</field>
|
||||
<field name="code">model.action_backup_all()</field>
|
||||
<field name="time_limit">3600</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
Before installing this module, you need to execute:
|
||||
|
||||
pip3 install pysftp==0.2.9
|
||||
pip3 install \
|
||||
paramiko \
|
||||
cryptography
|
||||
Loading…
Reference in New Issue
Block a user