feat: implement scheduling relative to last task execution (#439)

This commit is contained in:
Gareth
2024-08-26 22:35:06 -07:00
committed by GitHub
parent 44585ede61
commit 6ed1280869
26 changed files with 1120 additions and 249 deletions

View File

@@ -4,7 +4,6 @@ import (
"context"
"errors"
"fmt"
"io"
"time"
v1 "github.com/garethgeorge/backrest/gen/go/v1"
@@ -158,7 +157,3 @@ func (t *taskRunnerImpl) Config() *v1.Config {
func (t *taskRunnerImpl) Logger(ctx context.Context) *zap.Logger {
return logging.Logger(ctx).Named(t.t.Name())
}
func (t *taskRunnerImpl) RawLogWriter(ctx context.Context) io.Writer {
return logging.WriterFromContext(ctx)
}