//! Copyright (c) 2022 MASSA LABS <info@massa.net>
//! This file defines a configuration structure containing all settings for the asynchronous message pool system
/// Asynchronous pool configuration
#[derive(Debug, Clone)]
pub struct AsyncPoolConfig {
/// max number of messages in the pool
pub max_length: u64,
/// max handler length
pub max_function_length: u16,
/// max handler params length
pub max_function_params_length: u64,
/// thread count
pub thread_count: u8,
/// max key length for message deserialization
pub max_key_length: u32,
}