Skip to content

Permit multiple threads to share a common Environment #169

Description

@slott56

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions