PowerEngine 后端图模服务代码仓库
Go to file
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
common optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
config Extend async task system with database integration and retry management 2026-04-03 10:07:43 +08:00
constants Refactor: extract task constants to dedicated constants package 2026-04-22 17:20:26 +08:00
database Extend async task system with database integration and retry management 2026-04-03 10:07:43 +08:00
deploy 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
diagram optimize code of redis init 2026-01-28 16:49:12 +08:00
distributedlock optimize code of redis init 2026-01-28 16:49:12 +08:00
docs optimize real time data receive api 2025-10-27 16:47:04 +08:00
example fix bug of test data with update handler 2025-01-13 15:54:40 +08:00
handler Refactor: extract task constants to dedicated constants package 2026-04-22 17:20:26 +08:00
logger optimize code of component attrbute update api 2026-01-08 17:34:44 +08:00
middleware Extend async task system with database integration and retry management 2026-04-03 10:07:43 +08:00
model optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
mq optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
network add code of async task system 2026-03-13 11:45:22 +08:00
orm Refactor async task system with unified task interfaces and add test task type 2026-04-14 17:00:30 +08:00
pool optimzie code organization structure of rabbitmq event 2026-02-25 17:14:25 +08:00
real-time-data optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
router add route of async task system 2026-03-17 16:08:46 +08:00
sql implemented task queue publishing using RabbitMQ 2026-04-01 17:15:33 +08:00
task Refactor: extract task constants to dedicated constants package 2026-04-22 17:20:26 +08:00
test optimize database struct 2025-11-19 17:44:08 +08:00
util optimize code of redis init 2026-01-28 16:49:12 +08:00
.drone.yml modify drone pipeline code 2025-02-10 15:21:34 +08:00
.gitignore add route of async task system 2026-03-17 16:08:46 +08:00
README.md merge feature-cgo branch 2025-07-31 10:48:56 +08:00
go.mod implemented task queue publishing using RabbitMQ 2026-04-01 17:15:33 +08:00
go.sum implemented task queue publishing using RabbitMQ 2026-04-01 17:15:33 +08:00
main.go Extend async task system with database integration and retry management 2026-04-03 10:07:43 +08:00

README.md

ModelRT

Build Status