Skip to content

Commit

Permalink
revert go.mod go version change, less frequent cron
Browse files Browse the repository at this point in the history
  • Loading branch information
safeer committed Oct 1, 2024
1 parent 9b013cb commit 6f259d8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/go/cron/cron.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/TBD54566975/ftl/go-runtime/ftl" // Import the FTL SDK.
)

//ftl:cron 10s
func TenSeconds(ctx context.Context) error {
//ftl:cron 30s
func ThirtySeconds(ctx context.Context) error {
ftl.LoggerFromContext(ctx).Infof("Frequent cron job triggered.")
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion examples/go/cron/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ftl/cron

go 1.23.1
go 1.23.0

replace github.com/TBD54566975/ftl => ../../..

Expand Down
4 changes: 2 additions & 2 deletions examples/go/cron/types.ftl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/go/echo/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ftl/echo

go 1.23.1
go 1.23.0

replace github.com/TBD54566975/ftl => ../../..

Expand Down
2 changes: 1 addition & 1 deletion examples/go/time/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ftl/time

go 1.23.1
go 1.23.0

replace github.com/TBD54566975/ftl => ../../..

Expand Down

0 comments on commit 6f259d8

Please sign in to comment.