CacheControl / CacheControl/json-rules-engine

Check rule conditions serially instead of in parallel

Abierto
#271 11 comentarios 3 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
3.1k
Forks
507
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

We're running into issues where our facts are based on transactional access to a database. When we try to properly decompose our rules into multiple facts, we hit problems where the same transaction is trying to be used simultaneously because the rules engine appears to process facts in parallel by default.

I know there's a way to set priority on rules and facts which should make them run serially. The issue with this approach Is that is appears to be declarative on the fact itself and not on the user of the fact when constructing rule conditions. This makes it hard to use when you may want to decompose rule conditions in different order but still have them run serially instead of in parallel.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.