Storage File Swap Backend Queue
storage_file_swap_backend_queue · OCA/storage
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
3 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
0 migration notes
3 models
2 views
0 HTTP endpoints
Description
This module integrates storage_file with queue_job to delegate the
backend swap operation to asynchronous jobs.
When swapping files between storage backends via the wizard, the operation is split into batches and dispatched as queue jobs instead of running synchronously. This avoids timeouts when moving large numbers of files.
Dependencies
- Odoo dependencies
- Python dependencies
- python_slugify, cachetools, requests
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
storage_backend_view_form |
storage.backend | form | Inherits storage_file.storage_backend_view_form | |
storage_file_swap_backend_view_form |
storage.file.swap.backend | form | Inherits storage_file.storage_file_swap_backend_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (1)
-
swap_backend_use_queueBooleandefault=Falsehelp='When enabled, swapping files to/from this backend will be dispatched as asynchronous queue jobs instead of running synchronously.'string='Use Queue for Backend Swap'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
use_queueBooleanrelated='source_backend_id.swap_backend_use_queue'string='Use Queue Jobs'
No public methods.