feat: all cpus reservations to 0.1
This commit is contained in:
@@ -61,11 +61,11 @@ LIBSQL_PRIMARY_URL=http://libsql:5001
|
||||
# Primary instance resource limits
|
||||
LIBSQL_CPU_LIMIT=1.0
|
||||
LIBSQL_MEMORY_LIMIT=512M
|
||||
LIBSQL_CPU_RESERVATION=0.5
|
||||
LIBSQL_CPU_RESERVATION=0.1
|
||||
LIBSQL_MEMORY_RESERVATION=256M
|
||||
|
||||
# Replica instance resource limits (when replica profile is enabled)
|
||||
LIBSQL_REPLICA_CPU_LIMIT=1.0
|
||||
LIBSQL_REPLICA_MEMORY_LIMIT=512M
|
||||
LIBSQL_REPLICA_CPU_RESERVATION=0.5
|
||||
LIBSQL_REPLICA_MEMORY_RESERVATION=256M
|
||||
LIBSQL_REPLICA_CPU_RESERVATION=0.1
|
||||
LIBSQL_REPLICA_MEMORY_RESERVATION=256M
|
||||
@@ -42,7 +42,7 @@ services:
|
||||
cpus: ${LIBSQL_CPU_LIMIT:-1.0}
|
||||
memory: ${LIBSQL_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: ${LIBSQL_CPU_RESERVATION:-0.5}
|
||||
cpus: ${LIBSQL_CPU_RESERVATION:-0.1}
|
||||
memory: ${LIBSQL_MEMORY_RESERVATION:-256M}
|
||||
|
||||
# Replica instance (optional, use with profile)
|
||||
@@ -79,7 +79,7 @@ services:
|
||||
cpus: ${LIBSQL_REPLICA_CPU_LIMIT:-1.0}
|
||||
memory: ${LIBSQL_REPLICA_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: ${LIBSQL_REPLICA_CPU_RESERVATION:-0.5}
|
||||
cpus: ${LIBSQL_REPLICA_CPU_RESERVATION:-0.1}
|
||||
memory: ${LIBSQL_REPLICA_MEMORY_RESERVATION:-256M}
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user