Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 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 1 model 1 view 0 HTTP endpoints

Description

Delay cache pre-heat for expensive endpoints.

If an endpoint takes to long to get cached, it will probably make your call fail or any cron job that calls it.

This module allows pre-heat the cache and delay its generation.

Dependencies

Odoo dependencies
OCA/queue:
OCA/server-tools:
OCA/web-api:
odoo/odoo:
- web
- bus
Python dependencies
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 1

XML IDNameModelTypeStatus
endpoint_mixin_form_view endpoint.mixin form Inherits endpoint_cache.endpoint_mixin_form_view

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (2)
  • cache_preheat Boolean
    help='If checked, cache will be pre-heated by a cron according to the selected policy. Cache generation will be done in a queue job.' string='Automatic cache pre-heat'
  • cache_preheat_ts Datetime
    readonly=True string='Last pre-heat on'
Public methods (2)
  • action_preheat_cache_async(self)
  • cron_endpoint_cache_preheat(self)
    @api.model
    Cron job to preheat cache

Loading…