cloud-custodian / cloud-custodian/cel-python
Permit multiple threads to share a common Environment
Đang mở
enhancement
- Ngôn ngữ chính
- Python
- Star
- 174
- Fork
- 40
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.