This commit is contained in:
parent
de23038cf9
commit
2d1be88dd1
|
@ -34,7 +34,7 @@ type redisStreamTimeline struct {
|
||||||
func (b *memoryBackend) getTimeline(channel string) TimelineBackend {
|
func (b *memoryBackend) getTimeline(channel string) TimelineBackend {
|
||||||
// TODO: fetch timeline type from channel
|
// TODO: fetch timeline type from channel
|
||||||
timelineType := "sorted-set"
|
timelineType := "sorted-set"
|
||||||
if channel == "notifications" || channel == "tweets" {
|
if channel == "notifications" {
|
||||||
timelineType = "stream"
|
timelineType = "stream"
|
||||||
}
|
}
|
||||||
if timelineType == "sorted-set" {
|
if timelineType == "sorted-set" {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user