mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-10 01:51:11 +09:00
Remove close send error
This commit is contained in:
parent
3a6c0c1cae
commit
5ceab3b7cd
1 changed files with 0 additions and 2 deletions
|
@ -4,7 +4,6 @@ import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/cheggaaa/mb/v3"
|
"github.com/cheggaaa/mb/v3"
|
||||||
"go.uber.org/zap"
|
|
||||||
|
|
||||||
"github.com/anyproto/any-sync/app/logger"
|
"github.com/anyproto/any-sync/app/logger"
|
||||||
)
|
)
|
||||||
|
@ -55,7 +54,6 @@ func (mp *migratePool) sendLoop() {
|
||||||
for {
|
for {
|
||||||
f, err := mp.batch.WaitOne(mp.ctx)
|
f, err := mp.batch.WaitOne(mp.ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Debug("close send loop", zap.Error(err))
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
f()
|
f()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue