-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
Description
just added --limit 10 to a model
and now we're getting
ActiveRecord::QueryCanceled PG::QueryCanceled: ERROR: canceling statement due to statement timeout
CONTEXT: PL/pgSQL function logidze_compact_history(jsonb,integer) line 29 at assignment
PL/pgSQL function logidze_logger() line 172 at assignmentIt's not obvious to me from the code why this could possibly be so slow
It's running in an 'upsert_all' in groups of 50 🤷
Starting an issue to start a discussion
- logidze 1.3.1
- Rails 7.0.8.7
- Ruby 3.3.6p108