Lexpedite / blawx

A user-friendly web-based tool for Rules as Code.
MIT License
105 stars 9 forks source link

Look into slowdown when adding objects and values at the same time. #316

Closed Gauntlet173 closed 1 year ago

Gauntlet173 commented 2 years ago

In BlawxBot, if you add a value to an attribute that has a category for its type, and the value that you add is not aleady an object in that category, it adds the value and it adds the object to the category at the same time. The problem is that this seems to be causing a significant slow-down the next time the /interview endpoint is called. What usually takes one second takes closer to 10.

I suspect that there is an issue with how the abducibility rules are being generated, but I don't know. The reasoning seems to still work, so this isn't super-urgent, but it's a bit annoying.

Gauntlet173 commented 1 year ago

Blawxbot is deprecated