more TODO comments

This commit is contained in:
Gabriel mermelstein 2024-10-15 14:16:18 +03:00
parent 524b566165
commit 37d7fd4486
No known key found for this signature in database
GPG Key ID: 82B8134785FEAE0D
1 changed files with 3 additions and 2 deletions

View File

@ -1813,7 +1813,8 @@ func wakuNew(nodeKey *ecdsa.PrivateKey,
ts = timesource.Default()
}
/* cfg = setDefaults(cfg)
/* TODO-nwaku
cfg = setDefaults(cfg)
if err = cfg.Validate(logger); err != nil {
return nil, err
} */
@ -1859,7 +1860,7 @@ func wakuNew(nodeKey *ecdsa.PrivateKey,
onHistoricMessagesRequestFailed: onHistoricMessagesRequestFailed,
onPeerStats: onPeerStats,
onlineChecker: onlinechecker.NewDefaultOnlineChecker(false).(*onlinechecker.DefaultOnlineChecker),
//sendQueue: publish.NewMessageQueue(1000, cfg.UseThrottledPublish),
//sendQueue: publish.NewMessageQueue(1000, cfg.UseThrottledPublish), // TODO-nwaku
}, nil
}