o19s / opensearch-ubi

OpenSearch plugin for User Behavior Insights
Apache License 2.0
6 stars 1 forks source link

Queries should be queued prior to writing to the store #97

Closed jzonthemtn closed 8 months ago

jzonthemtn commented 8 months ago

Queries should be queued prior to writing to the store.

In the persistQuery function of UserBehaviorInsightsActionFilter, queries are persisted directly to the store. Instead, queries should be queued similarly to how events are queued and later processed by a background thread.