Monorepo for Tangled tangled.org

appview/indexer: log docCount on startup #814

merged opened by oppi.li targeting master from op/ztvvwpoulppu
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:qfpnj4og54vl56wngdriaxug/sh.tangled.repo.pull/3m5sfuihljp22
+6 -2
Diff #0
+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) {

History

1 round 0 comments
sign up or login to add to the discussion
oppi.li submitted #0
1 commit
expand
appview/indexer: log docCount on startup
3/3 success
expand
expand 0 comments
pull request successfully merged