modelRT/database
douxu f8c0951a13 Extend async task system with database integration and retry management
- Add AsyncTaskConfig to config structure
  - Create database operations for task state management (async_task_extended.go)
  - Add configuration middleware for Gin context
  - Extract task worker initialization to separate file (initializer.go)
  - Implement retry strategies with exponential backoff (retry_manager.go)
  - Add retry queue for failed task scheduling (retry_queue.go)
  - Enhance worker metrics with detailed per-task-type tracking
  - Integrate database operations into task worker for status updates
  - Add comprehensive metrics logging system
2026-04-03 10:07:43 +08:00
..
async_task_extended.go Extend async task system with database integration and retry management 2026-04-03 10:07:43 +08:00
async_task_operations.go add code of async task system 2026-03-13 11:45:22 +08:00
create_component.go optimize code of sql struct and measurement node recommend api 2025-12-19 17:33:12 +08:00
create_measurement.go fix bug of new version of measurement recommend api 2025-12-06 18:32:00 +08:00
create_model_info.go refactor(errer-package): optimize package name of constant 2025-06-13 15:34:49 +08:00
create_topologic.go optimize database struct 2025-11-19 17:44:08 +08:00
delete_topologic.go refactor(errer-package): optimize package name of constant 2025-06-13 15:34:49 +08:00
fill_identity_token_model.go optimize code of config 2026-01-29 17:00:20 +08:00
filling_attr_model_info.go optimize code of config 2026-01-29 17:00:20 +08:00
postgres_init.go add code of async task system 2026-03-13 11:45:22 +08:00
query_component.go add handler of compoent attribute query api 2026-01-12 17:21:04 +08:00
query_component_attribute.go add func of init component measurement recommend 2025-12-24 16:55:55 +08:00
query_component_measurement.go add fullpath completion of component attribute group recommend 2025-12-26 12:00:00 +08:00
query_grid.go add telemetry machine code 2025-09-01 16:15:30 +08:00
query_measurement.go optimize variable naming and init real time data compute func 2025-11-13 17:29:49 +08:00
query_node_inof.go optimize code of sql struct and measurement node recommend api 2025-12-19 17:33:12 +08:00
query_page.go refactor(handler): use logger package log func replace zap log func 2025-06-06 16:41:52 +08:00
query_project_manager.go add code of send all target removed system signal in real time data pull api and fix bug of component attribute query api 2026-01-14 17:32:01 +08:00
query_station.go add telemetry machine code 2025-09-01 16:15:30 +08:00
query_topologic.go refactor(orm/circuit_diagram_component): fix compilation issues caused by structure field changes 2025-08-15 16:25:48 +08:00
query_zone.go add telemetry machine code 2025-09-01 16:15:30 +08:00
update_component.go optimize code of sql struct and measurement node recommend api 2025-12-19 17:33:12 +08:00
update_model_info.go refactor(errer-package): optimize package name of constant 2025-06-13 15:34:49 +08:00
update_topologic.go optimize database struct 2025-11-19 17:44:08 +08:00