Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
refactor: rename runner-go -> runner (#34)
Browse files Browse the repository at this point in the history
Instead of having per-language runners, we'll have a single service with
a configuration file telling it how to launch specific language
runtimes.
  • Loading branch information
alecthomas authored May 31, 2023
1 parent 07bbe63 commit be0419c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/ftl-runner-go/main.go → cmd/ftl-runner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

_ "github.com/TBD54566975/ftl/common/automaxprocs" // Set GOMAXPROCS to match Linux container CPU quota.
"github.com/TBD54566975/ftl/common/log"
runner "github.com/TBD54566975/ftl/runner-go"
"github.com/TBD54566975/ftl/runner"
)

var version = "dev"
Expand Down
2 changes: 1 addition & 1 deletion controlplane/controlplane.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ func (s *Service) reapStaleRunners(ctx context.Context) {
case <-ctx.Done():
return

case <-time.After(s.heartbeatTimeout):
case <-time.After(s.heartbeatTimeout / 4):
}
}
}
4 changes: 2 additions & 2 deletions runner-go/runner.go → runner/runner.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Package runnergo contains a server that implements the RunnerService and
// Package runner contains a server that implements the RunnerService and
// proxies VerbService requests to user code.
package runnergo
package runner

import (
context "context"
Expand Down
File renamed without changes.

0 comments on commit be0419c

Please sign in to comment.