cloud-custodian / cloud-custodian/cel-python

Permit multiple threads to share a common Environment

Đang mở
#169 3 bình luận 0 reaction 1 người được giao Được @Quantum0uasar nhận Xem trên GitHub
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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.