services/consensus: add some logging on start

This commit is contained in:
Roman Khimov 2021-04-02 13:13:26 +03:00
parent 99b71bbbd1
commit 84b240cc9a
4 changed files with 4 additions and 0 deletions

View file

@ -162,6 +162,7 @@ func (o *Oracle) Shutdown() {
// Run runs must be executed in a separate goroutine.
func (o *Oracle) Run() {
o.Log.Info("starting oracle service")
for i := 0; i < o.MainCfg.MaxConcurrentRequests; i++ {
go o.runRequestWorker()
}