cloud-custodian / cloud-custodian/cel-python
Permit multiple threads to share a common Environment
Abierto
enhancement
- Lenguaje dominante
- Python
- Estrellas
- 174
- Forks
- 40
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
The `Environment` class saves a copy of the most recently-created `Runnable` program instance.
This can make it awkward to have an `Environment` shared by multiple threads creating thread-specific ``Runnable`` objects to do concurrent evaluations of CEL expressions.
Remove the `self.runnable` attribute and return the `Runnable` instance from `Environment.program()`
See issue #38
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.