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.
Click to show internal directories.
Click to hide internal directories.