Track all updates, features, and improvements to FreePas
Increased JWT access token expiration from 30 minutes to 3 hours (180 minutes) in backend configuration. This critical fix prevents frequent automatic logouts during long Check-In Station sessions where event staff need continuous access for several hours. Users were experiencing unexpected logouts every 10-20 minutes, disrupting check-in operations and requiring repeated re-authentication. The refresh token remains valid for 7 days. The frontend already has automatic token refresh logic, but the short 30-minute expiration was causing issues. This change ensures uninterrupted sessions for check-in staff, dashboard users, and anyone working with the system for extended periods.
Increased Node.js heap size from default ~2GB to 4GB by adding NODE_OPTIONS: --max-old-space-size=4096 to docker-compose.yml frontend service. Next.js dev server was experiencing severe memory exhaustion with 6000+ modules, reaching 57% memory usage (2.2GB/3.8GB) and causing automatic restarts with 'Server is approaching memory threshold' warnings. This led to 15-17 second page compilation times, intermittent connection losses, timeouts, and frozen UI. The memory increase prevents exhaustion, eliminates automatic restarts, and significantly improves development server performance and stability.