According to the Database Query Insights, this query was run in the backend over 20 thousand times in just the past hour alone (Almost 4 million requests in the past 7 days) and each request takes on average 1.8 seconds to make and the result is just always one row.
This PR hopes to lessen this bottleneck query by extending the interval for this query from every second to every 30 seconds.
According to the Database Query Insights, this query was run in the backend over 20 thousand times in just the past hour alone (Almost 4 million requests in the past 7 days) and each request takes on average 1.8 seconds to make and the result is just always one row.
This PR hopes to lessen this bottleneck query by extending the interval for this query from every second to every 30 seconds.