Module bootstrap

Source
Expand description

Initialization routines for the relayer system

This module contains functions and utilities for initializing various components of the relayer system, including relayers, configuration, application state, workers, and plugins.

§Submodules

  • initialize_relayers: Functions for initializing relayers
  • config_processor: Functions for processing configuration files
  • initialize_app_state: Functions for initializing application state
  • initialize_workers: Functions for initializing background workers
  • initialize_plugins: Functions for initializing the plugin worker pool

Structs§

RepositoryCollection

Functions§

get_relayer_ids_to_initialize
Collects relayer IDs that need initialization
initialize_app_state
Initializes application state
initialize_plugin_pool
Initialize the plugin worker pool if plugins are configured.
initialize_queue_workers
Creates the queue backend and initializes all workers in a single step.
initialize_relayer
initialize_relayers
initialize_repositories
Initializes repositories based on the server configuration
precompile_plugins
Precompile all configured plugins.
process_config_file
Process a complete configuration file by initializing all repositories.
shutdown_plugin_pool
Shutdown the plugin pool gracefully.