Add reference to linear task in periodicsync todo
This commit is contained in:
parent
4e7b96b942
commit
ebf984a595
@ -16,7 +16,8 @@ type PeriodicSync interface {
|
|||||||
type SyncerFunc func(ctx context.Context) error
|
type SyncerFunc func(ctx context.Context) error
|
||||||
|
|
||||||
func NewPeriodicSync(periodSeconds int, timeout time.Duration, caller SyncerFunc, l logger.CtxLogger) PeriodicSync {
|
func NewPeriodicSync(periodSeconds int, timeout time.Duration, caller SyncerFunc, l logger.CtxLogger) PeriodicSync {
|
||||||
// TODO: rename to PeriodicCall
|
// TODO: rename to PeriodicCall (including folders) and do PRs in all repos where we are using this
|
||||||
|
// https://linear.app/anytype/issue/GO-1241/change-periodicsync-component-to-periodiccall
|
||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
ctx = logger.CtxWithFields(ctx, zap.String("rootOp", "periodicCall"))
|
ctx = logger.CtxWithFields(ctx, zap.String("rootOp", "periodicCall"))
|
||||||
return &periodicCall{
|
return &periodicCall{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user