Commit Graph

12 Commits

Author SHA1 Message Date
DJObleezy
e0c5f085cc Enhance data handling and UI responsiveness
- Updated `save_graph_state` in `state_manager.py` to include unit preservation for `arrow_history` and `metrics_log`, with improved data size logging and exception handling.
- Modified `notifications.css` for better mobile responsiveness, including a grid layout for `.filter-buttons` and adjusted button sizes.
- Changed value display in `initializeChart` to use 'PH' for petahashes, aligning with new unit standards.
- Ensured consistent unit formatting in `updateChartWithNormalizedData` for the 24-hour average line.
- Enhanced precision in `updateUI` for unpaid earnings display.
- Simplified y-axis label in chart configuration and updated value formatting to reflect new unit standards.
2025-04-25 22:13:01 -07:00
DJObleezy
af263b2fe4 Add memory management features and API endpoints
Introduce memory management configuration in `App.py` with constants for log and history limits, garbage collection intervals, and monitoring settings. Implement adaptive garbage collection, memory leak checking, and metrics recording. Modify `update_metrics_job` for adaptive cleanup and add a memory watchdog. Introduce new API endpoints for memory profiling, history, and forced garbage collection. Update `StateManager` for aggressive data pruning to optimize memory usage.
2025-04-24 15:47:51 -07:00
DJObleezy
97fe19d61d Add configurable timezone support throughout the app
Updated the application to use a configurable timezone instead of hardcoding "America/Los_Angeles". This change impacts the dashboard, API endpoints, and worker services. Timezone is now fetched from a configuration file or environment variable, enhancing flexibility in time display. New API endpoints for available timezones and the current configured timezone have been added. The frontend now allows users to select their timezone from a dropdown menu, which is stored in local storage for future use. Timestamps in the UI have been updated to reflect the selected timezone.
2025-04-18 11:08:35 -07:00
DJObleezy
4be19833d7
Add files via upload 2025-04-09 11:46:24 -07:00
DJObleezy
c8a62971e2
Delete state_manager.py 2025-04-09 11:45:12 -07:00
DJObleezy
98b29aa521
Update state_manager.py 2025-03-28 19:07:29 -07:00
DJObleezy
b4b6995cc1
Update state_manager.py 2025-03-27 09:51:42 -07:00
DJObleezy
b9993a12f1
Update state_manager.py 2025-03-26 10:32:43 -07:00
DJObleezy
65ebf2032e
Update state_manager.py 2025-03-26 08:02:03 -07:00
DJObleezy
26e1780501
Update state_manager.py 2025-03-25 13:30:17 -07:00
DJObleezy
28c9e9592b
Update state_manager.py 2025-03-25 08:12:18 -07:00
DJObleezy
29ecc7732b
Add files via upload
v0.3 Update
2025-03-23 23:39:04 -07:00