Skip to content

Commit

Permalink
Merge pull request #128 from fission/bump-controller-speed
Browse files Browse the repository at this point in the history
Bump controller tick speed to 100 ms
  • Loading branch information
erwinvaneyk authored Mar 17, 2018
2 parents 20fbec8 + 86116b4 commit 98aacfd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

const (
TickInterval = time.Duration(1) * time.Second
TickInterval = time.Duration(100) * time.Millisecond
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/invocation/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func (cr *Controller) Evaluate(invocationId string) {
defer evalState.Free()
default:
// TODO provide option to wait for a lock
wfiLog.Infof("Failed to obtain access to invocation %s", invocationId)
wfiLog.Debugf("Failed to obtain access to invocation %s", invocationId)
return
}
log.Debugf("evaluating invocation %s", invocationId)
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/workflow/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (c *Controller) Evaluate(workflowId string) {
defer evalState.Free()
default:
// TODO provide option to wait for a lock
wfLog.Infof("Failed to obtain access to workflow %s", workflowId)
wfLog.Debugf("Failed to obtain access to workflow %s", workflowId)
return
}
wfLog.Debugf("evaluating workflow %s", workflowId)
Expand Down

0 comments on commit 98aacfd

Please sign in to comment.