mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Some small cleanup to docs.
This commit is contained in:
committed by
Reed Allman
parent
ed46a61f51
commit
69f0201818
@@ -37,8 +37,12 @@ type Runner struct {
|
||||
var (
|
||||
ErrTimeOutNoMemory = errors.New("Task timed out. No available memory.")
|
||||
ErrFullQueue = errors.New("The runner queue is full")
|
||||
WaitMemoryTimeout = 10 * time.Second
|
||||
)
|
||||
|
||||
WaitMemoryTimeout = 10 * time.Second
|
||||
const (
|
||||
DefaultTimeout = 30 * time.Second
|
||||
DefaultIdleTimeout = 30 * time.Second
|
||||
)
|
||||
|
||||
func New(ctx context.Context, flog FuncLogger, mlog MetricLogger) (*Runner, error) {
|
||||
|
||||
Reference in New Issue
Block a user