You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
metrics function calcs the min and max of each message here. There is no index on enqueued_at, and we dont need an index there for normal read() and send(), since we sort bymsg_id. However, getting the max and min of enqueued_at can slow down when there are millions of messages in the queue. A temporary fix could be to create an index on enqueued_at there will regularly be large number of messages in queue.
The text was updated successfully, but these errors were encountered:
metrics function calcs the min and max of each message here. There is no index on
enqueued_at
, and we dont need an index there for normal read() and send(), since we sort bymsg_id
. However, getting the max and min ofenqueued_at
can slow down when there are millions of messages in the queue. A temporary fix could be to create an index onenqueued_at
there will regularly be large number of messages in queue.The text was updated successfully, but these errors were encountered: