Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Log when last_track isn't in memcache

  • Loading branch information...
commit 00cc13e1306a532e2d2d6bb75c354e3102d62a0f 1 parent 6c107b7
@kumar303 kumar303 authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  playlists/views.py
View
2  playlists/views.py
@@ -129,6 +129,8 @@ def iter_playlist_events_for_view(query):
# Prepend the last track from cache.
# Due to HRD lag, it may not be in the result set yet.
events.insert(0, CachedPlaylistEvent(last_track))
+ else:
+ log.info('playlist.last_track was not in memcache')
for playlist_event in events:
pl_view = PlaylistEventView(playlist_event)
Please sign in to comment.
Something went wrong with that request. Please try again.