Add reference to linear task in periodicsync todo

This commit is contained in:
mcrakhman 2023-04-25 21:41:18 +02:00
parent 46de85a7f8
commit e9c6f95991
No known key found for this signature in database
GPG Key ID: DED12CFEF5B8396B

View File

@ -16,7 +16,8 @@ type PeriodicSync interface {
type SyncerFunc func(ctx context.Context) error
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 = logger.CtxWithFields(ctx, zap.String("rootOp", "periodicCall"))
return &periodicCall{