update facts and rules recursively

This commit is contained in:
Chris Cromer 2023-03-05 23:04:17 -03:00
parent d4c4d3fe75
commit 0bfd93150f
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -250,6 +250,7 @@ void obelisk::KnowledgeBase::checkRule(obelisk::Fact& fact)
auto updateFact = rule.getFact();
updateFact.setIsTrue(1.0);
updateFact.updateIsTrue(dbConnection_);
checkRule(updateFact);
}
}
}