(cleanup-config config)Returns the cleanup configuration map from config.
Returns the cleanup configuration map from config.
(cleanup-config*)Returns the cleanup configuration map from the dynamic var.
Returns the cleanup configuration map from the dynamic var.
(database-config config)Returns the database configuration map from config.
Returns the database configuration map from config.
(database-config*)Returns the database configuration map from the dynamic var.
Returns the database configuration map from the dynamic var.
Default configuration values for optional sections. These are merged with user-provided config to ensure sensible defaults.
Default configuration values for optional sections. These are merged with user-provided config to ensure sensible defaults.
(get-config)Returns the current configuration from the dynamic var. Throws if configuration has not been loaded.
Returns the current configuration from the dynamic var. Throws if configuration has not been loaded.
(load-config)(load-config filename)(load-config filename opts)Reads and validates configuration from filename using aero. With no arguments, loads configuration with the following precedence:
Opts map may include :profile for environment-specific config. Throws if configuration is invalid or not found.
Reads and validates configuration from filename using aero. With no arguments, loads configuration with the following precedence: 1. Checks for 'skivi-config.edn' (dedicated file, root-level config) 2. Falls back to :skivi section in 'config.edn' (embedded in shared config) Opts map may include :profile for environment-specific config. Throws if configuration is invalid or not found.
(logging-config config)Returns the logging configuration map from config.
Returns the logging configuration map from config.
(logging-config*)Returns the logging configuration map from the dynamic var.
Returns the logging configuration map from the dynamic var.
(merge-with-defaults config)Merges user config with default config. Required sections (database, worker, queue, schema) must be provided by user. Optional sections are merged with defaults.
Merges user config with default config. Required sections (database, worker, queue, schema) must be provided by user. Optional sections are merged with defaults.
(monitoring-config config)Returns the monitoring configuration map from config.
Returns the monitoring configuration map from config.
(monitoring-config*)Returns the monitoring configuration map from the dynamic var.
Returns the monitoring configuration map from the dynamic var.
(queue-config config)Returns the queue configuration map from config.
Returns the queue configuration map from config.
(queue-config*)Returns the queue configuration map from the dynamic var.
Returns the queue configuration map from the dynamic var.
(reload-config! system)(reload-config! system filename)Reloads configuration and updates system. System can be:
Optional filename parameter specifies which config file to reload.
Reloads configuration and updates system. System can be: - Map with :config atom key — the :config value must be a clojure.lang.Atom; returns the updated system map. Note: create-system does not wrap config in an atom by default. Callers who want hot-reload must store config in an atom themselves and pass the system map here. - Atom directly (returns dereferenced new config) - nil (returns new config without updating anything) Optional filename parameter specifies which config file to reload.
(retry-config config)Returns the retry configuration map from config.
Returns the retry configuration map from config.
(retry-config*)Returns the retry configuration map from the dynamic var.
Returns the retry configuration map from the dynamic var.
(scheduler-config config)Returns the scheduler/cron configuration map from config.
Returns the scheduler/cron configuration map from config.
(scheduler-config*)Returns the scheduler/cron configuration map from the dynamic var.
Returns the scheduler/cron configuration map from the dynamic var.
(schema-name config)Returns the database schema name string from config.
Returns the database schema name string from config.
(schema-name*)Returns the database schema name string from the dynamic var.
Returns the database schema name string from the dynamic var.
(validate-config config)Returns config if it conforms to the Config schema, otherwise throws ex-info with humanised validation errors.
Returns config if it conforms to the Config schema, otherwise throws ex-info with humanised validation errors.
(with-config config f)Evaluates f with config bound to the dynamic configuration var. Returns the result of calling f.
Evaluates f with config bound to the dynamic configuration var. Returns the result of calling f.
(worker-config config)Returns the worker configuration map from config.
Returns the worker configuration map from config.
(worker-config*)Returns the worker configuration map from the dynamic var.
Returns the worker configuration map from the dynamic var.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |