consts

package
v0.0.0-...-e0ac650 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CACHE_PREFIX               = "cos:cache"
	MAX_FEED_LIMIT_PER_PAGE    = 200
	MAX_MEDIA_LIMIT_PER_PAGE   = 200
	ACCOUNT_LIST_CACHE_EXPIRE  = 10 * time.Minute
	WORK_COUNTS_METRICS_PREFIX = "work_counts_"
	METRICS_CACHE_EXPIRE       = 1 * time.Minute
)
View Source
const (
	CONFIG_DEFAULT_DATABASE_CONNECTION_STRING = "postgres://postgres:postgres@localhost:5432/postgres"
	CONFIG_DEFAULT_WORKER_RPC_ENDPOINT        = "worker"
)
View Source
const (
	JOBS_INTERVAL_FEED_COLLECT           = 10 * time.Second
	JOBS_INTERVAL_RESUME_PAUSED_ACCOUNTS = 10 * time.Minute
)
View Source
const (
	RPCSETTINGS_MAXCAP              = 10
	RPCSETTINGS_DIAL_TIMEOUT        = 10 * time.Second
	RPCSETTINGS_DIAL_MAXTRY         = 3
	RPCSETTINGS_DIAL_RETRY_INTERVAL = 3 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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