OCA / storage

GNU Affero General Public License v3.0
66 stars 148 forks source link

[17.0] fs_storage: Connection closed after some time #374

Open Algosse opened 1 month ago

Algosse commented 1 month ago

Hello!

Module: fs_storage

I think my issue is related to #319, but for V17.

I set up a FTP fs_storage, and it works great except that after some time (can be 10 seconds or a few minutes), it is impossible to communicate with the filesystem When downloading: image When uploading: image

If I restart my Odoo instance, it works again.

Like #319, I think the file system expires but is not renewed by Odoo.

Here, the filestore is saved in cache by Odoo. When I remove the ormcache decorator, the filesystem is created every time, and I don't have any problems.

As mentionned in #319 and #320, with heavy traffic, it is not recommended to fetch the filesystem every time. As it is not my case, I will remove the ormcache decorator while looking for a permanent solution.