v1.27.0-a #10
@ -66,13 +66,13 @@ func (s *ProviderChainSched) Run(ctx context.Context) {
|
||||
}
|
||||
|
||||
gotCur = false
|
||||
log.Info("restarting window post scheduler")
|
||||
log.Info("restarting chain scheduler")
|
||||
}
|
||||
|
||||
select {
|
||||
case changes, ok := <-notifs:
|
||||
if !ok {
|
||||
log.Warn("window post scheduler notifs channel closed")
|
||||
log.Warn("chain notifs channel closed")
|
||||
notifs = nil
|
||||
continue
|
||||
}
|
||||
@ -124,7 +124,7 @@ func (s *ProviderChainSched) Run(ctx context.Context) {
|
||||
|
||||
func (s *ProviderChainSched) update(ctx context.Context, revert, apply *types.TipSet) {
|
||||
if apply == nil {
|
||||
log.Error("no new tipset in window post ProviderChainSched.update")
|
||||
log.Error("no new tipset in ProviderChainSched.update")
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -44,7 +44,7 @@ func NewMessageWatcher(db *harmonydb.DB, ht *harmonytask.TaskEngine, pcs *chains
|
||||
stopped: make(chan struct{}),
|
||||
updateCh: make(chan struct{}),
|
||||
}
|
||||
mw.run()
|
||||
go mw.run()
|
||||
if err := pcs.AddHandler(mw.processHeadChange); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -107,7 +107,7 @@ func (mw *MessageWatcher) update() {
|
||||
}
|
||||
|
||||
// really large limit in case of things getting stuck and backlogging severely
|
||||
err = mw.db.Select(ctx, &msgs, `SELECT signed_message_cid, from_key, nonce FROM message_wait
|
||||
err = mw.db.Select(ctx, &msgs, `SELECT signed_message_cid, from_key, nonce FROM message_waits
|
||||
JOIN message_sends ON signed_message_cid = signed_cid
|
||||
WHERE waiter_machine_id = $1 LIMIT 10000`, machineID)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user