cloud-custodian / cloud-custodian/cel-python
Permit multiple threads to share a common Environment
Ouverte
enhancement
- Langage dominant
- Python
- Étoiles
- 174
- Forks
- 40
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.