Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.recorder.pool Namespace Reference

Classes

class  MutexPool
 
class  RecorderPool
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
tuple ADVISE_MSG
 
bool DEBUG_MUTEX_POOL = True
 
bool DEBUG_MUTEX_POOL_TRACE = False
 
int POOL_SIZE = 5
 

Detailed Description

A pool for sqlite connections.

Variable Documentation

◆ _LOGGER

homeassistant.components.recorder.pool._LOGGER = logging.getLogger(__name__)
private

Definition at line 22 of file pool.py.

◆ ADVISE_MSG

tuple homeassistant.components.recorder.pool.ADVISE_MSG
Initial value:
1 = (
2  "Use homeassistant.components.recorder.get_instance(hass).async_add_executor_job()"
3 )

Definition at line 30 of file pool.py.

◆ DEBUG_MUTEX_POOL

bool homeassistant.components.recorder.pool.DEBUG_MUTEX_POOL = True

Definition at line 25 of file pool.py.

◆ DEBUG_MUTEX_POOL_TRACE

bool homeassistant.components.recorder.pool.DEBUG_MUTEX_POOL_TRACE = False

Definition at line 26 of file pool.py.

◆ POOL_SIZE

int homeassistant.components.recorder.pool.POOL_SIZE = 5

Definition at line 28 of file pool.py.