bountysource / core

Bountysource is the funding platform for open-source software.
https://www.bountysource.com/
MIT License
630 stars 187 forks source link

improve bounties query #1454

Closed alphashuro closed 4 years ago

alphashuro commented 4 years ago

This query is run during remote_sync, but does not use the index on status due to the !=. Using a combination of > and < does however use the index, and running an EXPLAIN on the query indicates that it will run much faster after this change.