config

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TaskHeartbeatInterval int = 30 // second
	RunCheckInterval      int = 1  // second
	DeleteMaxConcurrency  int = 5
	DeleteTaskInterval    int = 3   // second
	CleanTimeout          int = 120 // second
	CleanInterval         int = 60  // second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Log               async_config.Logger
	PendingRun        async_component.IQueue
	PendingDel        async_component.IQueue
	RunMaxConcurrency int
	RunTaskInterval   int // second
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL