checkpoint
parent
782de04b42
commit
9027acac22
|
|
@ -3,7 +3,6 @@ package model
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"runtime"
|
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
|
@ -147,8 +146,6 @@ func (t *Table) reconcile(ctx context.Context) error {
|
||||||
t.data.Mutex.Lock()
|
t.data.Mutex.Lock()
|
||||||
defer t.data.Mutex.Unlock()
|
defer t.data.Mutex.Unlock()
|
||||||
|
|
||||||
log.Debug().Msgf("GOROUTINE %d", runtime.NumGoroutine())
|
|
||||||
|
|
||||||
factory, ok := ctx.Value(internal.KeyFactory).(Factory)
|
factory, ok := ctx.Value(internal.KeyFactory).(Factory)
|
||||||
if !ok {
|
if !ok {
|
||||||
return fmt.Errorf("expected Factory in context but got %T", ctx.Value(internal.KeyFactory))
|
return fmt.Errorf("expected Factory in context but got %T", ctx.Value(internal.KeyFactory))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue