CacheControl / CacheControl/json-rules-engine

Check rule conditions serially instead of in parallel

オープン
#271 コメント 11 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
3.1k
フォーク
507
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。