cloud-custodian / cloud-custodian/cel-python
Permit multiple threads to share a common Environment
Aperta
enhancement
- Lingua principale
- Python
- Stelle
- 174
- Fork
- 40
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.