modelRT/task
douxu 809e1cd87d Refactor: extract task constants to dedicated constants package
- Add constants/task.go with centralized task-related constants
    - Task priority levels (default, high, low)
    - Task queue configuration (exchange, queue, routing key)
    - Task message settings (max priority, TTL)
    - Task retry settings (max retries, delays)
    - Test task settings (sleep duration, max limit)

  - Update task-related files to use constants from constants package:
    - handler/async_task_create_handler.go
    - task/queue_message.go
    - task/queue_producer.go
    - task/retry_manager.go
    - task/test_task.go
    - task/types.go (add TypeTest)
    - task/worker.go
2026-04-22 17:20:26 +08:00
..
handler_factory.go Refactor async task system with unified task interfaces and add test task type 2026-04-14 17:00:30 +08:00
initializer.go Extend async task system with database integration and retry management 2026-04-03 10:07:43 +08:00
metrics_logger.go Extend async task system with database integration and retry management 2026-04-03 10:07:43 +08:00
queue_message.go Refactor: extract task constants to dedicated constants package 2026-04-22 17:20:26 +08:00
queue_producer.go Refactor: extract task constants to dedicated constants package 2026-04-22 17:20:26 +08:00
retry_manager.go Refactor: extract task constants to dedicated constants package 2026-04-22 17:20:26 +08:00
retry_queue.go Extend async task system with database integration and retry management 2026-04-03 10:07:43 +08:00
test_task.go Refactor: extract task constants to dedicated constants package 2026-04-22 17:20:26 +08:00
types.go Refactor: extract task constants to dedicated constants package 2026-04-22 17:20:26 +08:00
types_v2.go Refactor async task system with unified task interfaces and add test task type 2026-04-14 17:00:30 +08:00
worker.go Refactor: extract task constants to dedicated constants package 2026-04-22 17:20:26 +08:00