cloud-custodian / cloud-custodian/cel-python

Permit multiple threads to share a common Environment

未关闭
#169 3 条评论 0 个 reaction 已指派 1 人 已被 @Quantum0uasar 认领 在 GitHub 查看
enhancement
主要语言
Python
星标
174
派生
40
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。