waku/persistence/store.go
Method DBStore.Query
has 5 return statements (exceeds 4 allowed). Open
Open
func (d *DBStore) Query(query *pb.HistoryQuery) (*pb.Index, []StoredMessage, error) {
start := time.Now()
defer func() {
elapsed := time.Since(start)
d.log.Info(fmt.Sprintf("Loading records from the DB took %s", elapsed))