remove jules

This commit is contained in:
Seth Hobson
2025-12-23 09:56:56 -05:00
parent 12f3ff4555
commit 160d9005cd
2 changed files with 0 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
## 2024-05-23 - Thread Pool Overhead in Iterative Tasks
**Learning:** Recreating `ThreadPoolExecutor` inside a frequently called loop (like an optimization loop) introduces significant overhead, especially when the individual tasks are short-lived.
**Action:** Initialize `ThreadPoolExecutor` once in the class `__init__` and reuse it across method calls to amortize the setup cost.

View File

@@ -1,4 +0,0 @@
## 2024-05-23 - Default Security Middleware in FastAPI Templates
**Vulnerability:** Missing default security headers and CORS configuration in API templates.
**Learning:** Developers often copy templates directly into production. If templates lack security headers by default, new services will be insecure.
**Prevention:** Always include `TrustedHostMiddleware` and `CORSMiddleware` in API templates with strict comments on how to configure them for production. Use safe defaults where possible, but permissive defaults with warnings (like `*`) are acceptable for templates if clearly marked with TODOs.