We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit fb613333 authored by Jonas Haraldsson's avatar Jonas Haraldsson

add temp limit on slow query

parent 2695a6c8
......@@ -215,6 +215,10 @@ class Library_page {
$query .= ' AND streamable=1';
}
/* BEGIN temporary limit query to one month in the past so we dont melt libre.fm server */
$query .= ' AND s.time > ' . (int) (time() - (3600 * 24 * 30));
/* END temporary limit */
$query .= ' GROUP BY s.artist, image';
if($this->sortby) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment