mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-23 18:04:34 +00:00
feat: port monitoring_status to 18.0
This commit is contained in:
@@ -65,6 +65,9 @@ class CloudPlatform(models.AbstractModel):
|
||||
|
||||
@api.model
|
||||
def check(self):
|
||||
if is_true(os.environ.get("ODOO_CLOUD_PLATFORM_UNSAFE")):
|
||||
_logger.warning("cloud platform checks disabled, this is not safe")
|
||||
return
|
||||
environment_name = self._get_running_env()
|
||||
self._check_redis(environment_name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user