mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Turning off dashboard river.
This commit is contained in:
parent
075c7c7e15
commit
5bbfc44111
1 changed files with 1 additions and 0 deletions
|
@ -1235,6 +1235,7 @@ def load_river_stories__redis(request):
|
|||
story_date_order = "%sstory_date" % ('' if order == 'oldest' else '-')
|
||||
|
||||
if limit == 5 and not request.user.is_staff:
|
||||
logging.user(request, "~FRIgnoring ~FCdashboard river stories")
|
||||
return dict(code=-1, message="Had to turn off dashboard river for now.", stories=[])
|
||||
|
||||
if story_hashes:
|
||||
|
|
Loading…
Add table
Reference in a new issue