Skip to content

Commit

Permalink
Use "@every" to convert period to schedule.
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Souza <[email protected]>
  • Loading branch information
artursouza committed Mar 22, 2024
1 parent 74260dc commit 98a0850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/actors/actors.go
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ func (a *actorsRuntime) CreateReminder(ctx context.Context, req *CreateReminderR
internalScheduleJobReq := &schedulerv1pb.ScheduleJobRequest{
Job: &runtimev1pb.Job{
Name: jobName,
Schedule: req.Period,
Schedule: "@every " + req.Period,
Data: &anypb.Any{
TypeUrl: "type.googleapis.com/google.protobuf.BytesValue",
Value: data, // TODO: this should go to actorStateStore
Expand Down

0 comments on commit 98a0850

Please sign in to comment.