Compare commits

..
1 Commits
Author SHA1 Message Date
Colin Seymour 453252d864 Only set file limit to a max of 524288 (#93) 2025-07-07 09:14:42 +01:00
+5 -1
View File
@@ -113,7 +113,11 @@ if [[ -z $(PGPASSWORD="$DATABASE_PASS" psql -h "$DATABASE_HOST" -p "$DATABASE_PO
bashio::log.notice "=> Dashboards: $grafana_ingress"
bashio::log.notice ""
fi
ulimit -n 1048576
# Set max open file limit to avoid memory allocation issues
if [ "$(ulimit -Hn)" -gt 524288 ]; then
ulimit -n 524288
fi
bashio::log.info "Starting TeslaMate..."