- Testing SET SCHEDULE.
This commit is contained in:
parent
7f2f48c2ab
commit
2f149d4e60
2 changed files with 8 additions and 8 deletions
|
@ -38,7 +38,7 @@ async fn main() -> std::io::Result<()> {
|
||||||
"/usr/bin/brave-browser-beta".to_string(),
|
"/usr/bin/brave-browser-beta".to_string(),
|
||||||
));
|
));
|
||||||
|
|
||||||
#[cfg(feature = "default")]
|
#[cfg(feature = "llm_local")]
|
||||||
{
|
{
|
||||||
use crate::services::llm_local::ensure_llama_server_running;
|
use crate::services::llm_local::ensure_llama_server_running;
|
||||||
|
|
||||||
|
|
|
@ -6,16 +6,16 @@ declare -A container_limits=(
|
||||||
["*tables*"]="4096MB:100ms/100ms"
|
["*tables*"]="4096MB:100ms/100ms"
|
||||||
["*dns*"]="2048MB:100ms/100ms"
|
["*dns*"]="2048MB:100ms/100ms"
|
||||||
["*doc-editor*"]="512MB:10ms/100ms"
|
["*doc-editor*"]="512MB:10ms/100ms"
|
||||||
["*proxy*"]="20248MB:50ms/100ms"
|
["*proxy*"]="2048MB:100ms/100ms"
|
||||||
["*directory*"]="1024MB:50ms/100ms"
|
["*directory*"]="1024MB:50ms/100ms"
|
||||||
["*drive*"]="4096MB:25ms/100ms"
|
["*drive*"]="4096MB:50ms/100ms"
|
||||||
["*email*"]="4096MB:50ms/100ms"
|
["*email*"]="4096MB:100ms/100ms"
|
||||||
["*webmail*"]="4096MB:50ms/100ms"
|
["*webmail*"]="4096MB:100ms/100ms"
|
||||||
["*bot*"]="4096MB:50ms/100ms"
|
["*bot*"]="4096MB:50ms/100ms"
|
||||||
["*meeting*"]="4096MB:100ms/100ms"
|
["*meeting*"]="4096MB:100ms/100ms"
|
||||||
["*alm*"]="512MB:50ms/100ms"
|
["*alm*"]="512MB:50ms/100ms"
|
||||||
["*alm-ci*"]="4096MB:25ms/100ms"
|
["*alm-ci*"]="4096MB:100ms/100ms"
|
||||||
["*system*"]="4096MB:10ms/100ms"
|
["*system*"]="4096MB:50ms/100ms"
|
||||||
["*mailer*"]="4096MB:25ms/100ms"
|
["*mailer*"]="4096MB:25ms/100ms"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ declare -A container_limits=(
|
||||||
DEFAULT_MEMORY="1024MB"
|
DEFAULT_MEMORY="1024MB"
|
||||||
DEFAULT_CPU_ALLOWANCE="15ms/100ms"
|
DEFAULT_CPU_ALLOWANCE="15ms/100ms"
|
||||||
CPU_COUNT=2
|
CPU_COUNT=2
|
||||||
CPU_PRIORITY=5
|
CPU_PRIORITY=10
|
||||||
|
|
||||||
for pattern in "${!container_limits[@]}"; do
|
for pattern in "${!container_limits[@]}"; do
|
||||||
echo "Configuring $container..."
|
echo "Configuring $container..."
|
||||||
|
|
Loading…
Add table
Reference in a new issue