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
{{ message }}
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
I know this library is no longer maintained. We've moved onto our own fork, but just documenting this here because we spent a day hunting down this performance issue.
This library has bad get() performance when there are lots of queued jobs.
but it sorts on _id, which can't make use of the above index
The trivial fix is to change it to sort by visible, which is in the index and should give similar (if not better?) results, presenting the job that was made visible first (as opposed to the job that was created first).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I know this library is no longer maintained. We've moved onto our own fork, but just documenting this here because we spent a day hunting down this performance issue.
This library has bad
get()
performance when there are lots of queued jobs.This is because:
get()
queries ondeleted
andvisible
, which has an index_id
, which can't make use of the above indexThe trivial fix is to change it to sort by
visible
, which is in the index and should give similar (if not better?) results, presenting the job that was made visible first (as opposed to the job that was created first).The text was updated successfully, but these errors were encountered: