constants

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package constants defines system-wide constants used throughout the ColonyOS server

Index

Constants

View Source
const CRON_TRIGGER_PERIOD = 1000 // Period in milliseconds when cron jobs are evaluated and triggered
View Source
const GENERATOR_TRIGGER_PERIOD = 1000 // Period in milliseconds when generators are evaluated and triggered
View Source
const MAX_COUNT = 100 // Maximum number of items that can be requested in list operations

API Limits - Maximum values for API requests to prevent abuse

View Source
const MAX_DAYS = 30 // Maximum number of days for log search operations
View Source
const MAX_LOG_COUNT = 500 // Maximum number of log entries that can be requested at once
View Source
const MAX_PRIORITY = 50000 // Maximum allowed priority for processes (higher numbers = higher priority)
View Source
const MIN_PRIORITY = -50000 // Minimum allowed priority for processes (lower numbers = lower priority)

Process Priority Limits - Valid range for process priority values

View Source
const RELEASE_PERIOD = 1 // Period in seconds when processes are checked for max exec time or max wait time

Background Processing Periods - How frequently various system tasks run

View Source
const TESTHOST = "localhost" // Default hostname for test servers

Test Configuration - Default values used in test environments

View Source
const TESTPORT = 28088 // Default port for test servers

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