forked from cerc-io/plugeth
Changed level
This commit is contained in:
parent
962255b373
commit
fcc6f183a4
@ -1,8 +1,9 @@
|
|||||||
package ethreact
|
package ethreact
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/ethereum/eth-go/ethlog"
|
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
|
"github.com/ethereum/eth-go/ethlog"
|
||||||
)
|
)
|
||||||
|
|
||||||
var logger = ethlog.NewLogger("REACTOR")
|
var logger = ethlog.NewLogger("REACTOR")
|
||||||
@ -32,7 +33,7 @@ func (e *EventHandler) Post(event Event) {
|
|||||||
select {
|
select {
|
||||||
case ch <- event:
|
case ch <- event:
|
||||||
default:
|
default:
|
||||||
logger.Warnf("subscribing channel %d to event %s blocked. skipping\n", i, event.Name)
|
logger.Debugf("subscribing channel %d to event %s blocked. skipping\n", i, event.Name)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user