From 2d1be88dd1686983243158b5f46fab3efccffedc Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Sun, 30 Dec 2018 09:34:39 +0100 Subject: [PATCH] Make tweets a normal stream again --- cmd/eksterd/timeline.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/eksterd/timeline.go b/cmd/eksterd/timeline.go index 92ca2d3..2fff6ca 100644 --- a/cmd/eksterd/timeline.go +++ b/cmd/eksterd/timeline.go @@ -34,7 +34,7 @@ type redisStreamTimeline struct { func (b *memoryBackend) getTimeline(channel string) TimelineBackend { // TODO: fetch timeline type from channel timelineType := "sorted-set" - if channel == "notifications" || channel == "tweets" { + if channel == "notifications" { timelineType = "stream" } if timelineType == "sorted-set" {