Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ and this project adheres to [Calendar Versioning](https://calver.org/).
- Implemented liveness probe to check connectivity to essential services
- Remove public-facing health check endpoints
- **API** Removed ability to choose a name id when creating a game. One will be generated based on the given display name
- **Infra** Reduced allocated cache size on ATS nodes to prevent disks exhaustion

### Fixed

Expand Down
12 changes: 6 additions & 6 deletions lib/bolt/core/src/dep/terraform/install_scripts/components.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,14 +381,14 @@ pub async fn traffic_server(ctx: &ProjectContext, server: &Server) -> Result<Str
.map(|(k, v)| format!("cat << 'EOF' > /etc/trafficserver/{k}\n{v}\nEOF\n"))
.collect::<Vec<_>>();

// Update default storage config size to be entire filesystem size
// Update default storage config size to be entire filesystem size minus 4GB
config_scripts.push(
indoc!(
"
df -h / |
awk 'NR==2 {print $2}' |
xargs -I {} sed -i 's/64G/{}/' /etc/trafficserver/storage.config
"
r#"
df -h / |
awk 'NR==2 {gsub(/G/, "", $2); print $2 - 4 "G"}' |
xargs -I {} sed -i 's/64G/{}/' /etc/trafficserver/storage.config
"#
)
.to_string(),
);
Expand Down