mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 12:06:12 -05:00
Save response times in DB and show in log (for debugging)
This commit is contained in:
@@ -2706,7 +2706,7 @@ daap_request(struct evhttp_request *req)
|
||||
DPRINTF(E_DBG, L_DB, "DAAP request handled in %d milliseconds\n", msec);
|
||||
|
||||
if (msec > daapcache_threshold())
|
||||
daapcache_add(full_uri, ua);
|
||||
daapcache_add(full_uri, ua, msec);
|
||||
|
||||
evhttp_clear_headers(&query);
|
||||
evbuffer_free(evbuf);
|
||||
|
||||
Reference in New Issue
Block a user