From 2a60a6afffd676a9d0d899ba968eaa86fa8773be Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Sat, 5 Jun 2021 20:03:06 +0200 Subject: [PATCH] Remove logging lines --- pkg/timeline/postgres.go | 1 - pkg/timeline/timeline.go | 1 - 2 files changed, 2 deletions(-) diff --git a/pkg/timeline/postgres.go b/pkg/timeline/postgres.go index d4032fb..5eed846 100644 --- a/pkg/timeline/postgres.go +++ b/pkg/timeline/postgres.go @@ -217,7 +217,6 @@ ON CONFLICT ON CONSTRAINT "items_uid_key" DO NOTHING return false, err } - log.Printf("AddItem: rows affected %d\n", c) return c > 0, nil } diff --git a/pkg/timeline/timeline.go b/pkg/timeline/timeline.go index ebaaca9..261a1f2 100644 --- a/pkg/timeline/timeline.go +++ b/pkg/timeline/timeline.go @@ -31,7 +31,6 @@ type Backend interface { // Create creates a channel of the specified type. Return nil when the type // is not known. func Create(channel, timelineType string, pool *redis.Pool, db *sql.DB) Backend { - log.Printf("fetching timeline with type %s", timelineType) if timelineType == "sorted-set" { timeline := &redisSortedSetTimeline{channel: channel, pool: pool} err := timeline.Init()