Monorepo for Tangled tangled.org

appview/indexer: log docCount on startup

Signed-off-by: oppiliappan <me@oppi.li>

Changed files
+6 -2
appview
indexer
issues
pulls
+3 -1
appview/indexer/issues/indexer.go
··· 56 56 log.Fatalln("failed to populate issue indexer", err) 57 57 } 58 58 } 59 - l.Info("Initialized the issue indexer") 59 + 60 + count, _ := ix.indexer.DocCount() 61 + l.Info("Initialized the issue indexer", "docCount", count) 60 62 } 61 63 62 64 func generateIssueIndexMapping() (mapping.IndexMapping, error) {
+3 -1
appview/indexer/pulls/indexer.go
··· 55 55 log.Fatalln("failed to populate pull indexer", err) 56 56 } 57 57 } 58 - l.Info("Initialized the pull indexer") 58 + 59 + count, _ := ix.indexer.DocCount() 60 + l.Info("Initialized the pull indexer", "docCount", count) 59 61 } 60 62 61 63 func generatePullIndexMapping() (mapping.IndexMapping, error) {