Re-enable repub

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-10-12 01:29:19 +02:00
parent fda8b932ba
commit df7ee610cd
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -1249,9 +1249,6 @@ func (mp *MessagePool) Updates(ctx context.Context) (<-chan api.MpoolUpdate, err
} }
func (mp *MessagePool) loadLocal() error { func (mp *MessagePool) loadLocal() error {
return nil
// TODO: this causes super slow startup...
res, err := mp.localMsgs.Query(query.Query{}) res, err := mp.localMsgs.Query(query.Query{})
if err != nil { if err != nil {
return xerrors.Errorf("query local messages: %w", err) return xerrors.Errorf("query local messages: %w", err)