1// Copyright (c) 2025 Ant Group 2// 3// SPDX-License-Identifier: Apache-2.0 or MIT 4// 5 6use crate::systemd::error::Result; 7use crate::systemd::TASKS_MAX; 8 9pub fn max(max: i64) -> Result<(&'static str, u64)> { 10 Ok((TASKS_MAX, max as u64)) 11}