celery query from redis

broker_url

127.0.0.1:6379[2]> keys *
1) "_kombu.binding.celery.pidbox"
2) "_kombu.binding.celeryev"
3) "_kombu.binding.priority_low"
4) "_kombu.binding.priority_high"
5) "_kombu.binding.celery"
6) "celery"
7) "unacked_mutex"
127.0.0.1:6379[2]> type _kombu.binding.celery.pidbox
set
127.0.0.1:6379[2]> SMEMBERS _kombu.binding.celery.pidbox
1) "\x06\x16\x06\x16worker2@www.celery.pidbox"
127.0.0.1:6379[2]> type _kombu.binding.celeryev
set
127.0.0.1:6379[2]> smembers _kombu.binding.celeryev
1) "#\x06\x16\x06\x16celeryev.f7886925-8840-45b8-94f1-c514e14625c8"
2) "worker.#\x06\x16\x06\x16celeryev.667dfe57-71c3-4ba4-8a96-5269aba15701"
3) "worker.#\x06\x16\x06\x16celeryev.c78c4437-f4ec-43c3-bbca-e5012c764fa8"
127.0.0.1:6379[2]> type _kombu.binding.priority_low
set
127.0.0.1:6379[2]> smembers _kombu.binding.priority_low
1) "priority_low\x06\x16\x06\x16priority_low"
127.0.0.1:6379[2]> smembers _kombu.binding.priority_high
1) "priority_high\x06\x16\x06\x16priority_high"
127.0.0.1:6379[2]> type celery
list
127.0.0.1:6379[2]> lrange celery 0 1
1) "{\"body\": \"W1sxMCwgMTBdLCB7fSwgeyJjYWxsYmFja3MiOiBudWxsLCAiZXJyYmFja3MiOiBudWxsLCAiY2hhaW4iOiBudWxsLCAiY2hvcmQiOiBudWxsfV0=\", \"content-encoding\": \"utf-8\", \"content-type\": \"application/json\", \"headers\": {\"lang\": \"py\", \"task\": \"task1.multiply\", \"id\": \"ef70961c-28c6-436e-a087-b65331da6d9e\", \"shadow\": null, \"eta\": null, \"expires\": null, \"group\": null, \"retries\": 0, \"timelimit\": [null, null], \"root_id\": \"ef70961c-28c6-436e-a087-b65331da6d9e\", \"parent_id\": null, \"argsrepr\": \"(10, 10)\", \"kwargsrepr\": \"{}\", \"origin\": \"gen19759@www\"}, \"properties\": {\"correlation_id\": \"ef70961c-28c6-436e-a087-b65331da6d9e\", \"reply_to\": \"e0457b02-8f50-32cb-bdd9-30dbca441e8c\", \"delivery_mode\": 2, \"delivery_info\": {\"exchange\": \"\", \"routing_key\": \"celery\"}, \"priority\": 0, \"body_encoding\": \"base64\", \"delivery_tag\": \"b2667b84-4459-488c-b550-9be432e06dda\"}}"
2) "{\"body\": \"W1syLCAyXSwge30sIHsiY2FsbGJhY2tzIjogbnVsbCwgImVycmJhY2tzIjogbnVsbCwgImNoYWluIjogbnVsbCwgImNob3JkIjogbnVsbH1d\", \"content-encoding\": \"utf-8\", \"content-type\": \"application/json\", \"headers\": {\"lang\": \"py\", \"task\": \"task2.add\", \"id\": \"4409b905-5900-48ff-9d93-de760fada8e9\", \"shadow\": null, \"eta\": null, \"expires\": null, \"group\": null, \"retries\": 0, \"timelimit\": [null, null], \"root_id\": \"4409b905-5900-48ff-9d93-de760fada8e9\", \"parent_id\": null, \"argsrepr\": \"(2, 2)\", \"kwargsrepr\": \"{}\", \"origin\": \"gen19759@www\"}, \"properties\": {\"correlation_id\": \"4409b905-5900-48ff-9d93-de760fada8e9\", \"reply_to\": \"cbd117a8-4e6d-328a-b84d-efbf8db4230d\", \"delivery_mode\": 2, \"delivery_info\": {\"exchange\": \"\", \"routing_key\": \"celery\"}, \"priority\": 0, \"body_encoding\": \"base64\", \"delivery_tag\": \"ad6247ba-d629-426d-83a5-6708ea3d6957\"}}"
127.0.0.1:6379[2]> llen celery
(integer) 100
127.0.0.1:6379[2]> smembers _kombu.binding.celery
1) "celery\x06\x16\x06\x16celery"
127.0.0.1:6379[2]> type unacked_mutex
string
127.0.0.1:6379[2]> get unacked_mutex
"4d81b2dc-a7c7-4b45-b1ad-d7856e1df460"

上传医疗影像数据文件自动输出扩增后的数据前端vue后端springboot算法端pythonimport request from "./request"; // 定义 MedicalDataset 接口,对应后端医疗影像数据集实体 interface MedicalDataset { id: number; userId: number; name: string; type: string; description: string; filePath: string; augmentedFilePaths?: string[]; } const medicalDatasetApi = { // 根据分页和查询条件获取医疗影像数据集列表 pageMedicalDatasets: (pageNum: number, pageSize: number, query: string) => { return request.get(`/ImageDataAugmentation/page?pageNum=${pageNum}&pageSize=${pageSize}&query=${query}`); }, // 获取所有医疗影像数据集列表 listMedicalDatasets: () => { return request.get(`/ImageDataAugmentation`); }, // 根据 ID 获取单个医疗影像数据集详情 getMedicalDatasetById: (id: number) => { return request.get(`/ImageDataAugmentation/${id}`); }, // 添加一个新的医疗影像数据集 urlForAddMedicalDataset: () => { return request.defaults.baseURL + "/ImageDataAugmentation"; }, // 根据 ID 更新医疗影像数据集信息 updateMedicalDataset: (id: number, dataset: MedicalDataset) => { return request.put(`/ImageDataAugmentation/${id}`, dataset); }, // 根据 ID 删除医疗影像数据集 deleteMedicalDataset: (id: number) => { return request.delete(`/ImageDataAugmentation/${id}`); }, // 触发医疗影像数据扩增 augmentMedicalDataset: (id: number) => { return request.post(`/ImageDataAugmentation/${id}/augment`); } }; export { medicalDatasetApi };
最新发布
03-10
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值