摘要: import time import threading from multiprocessing import Process from concurrent.futures import ProcessPoolExecutor def time_decorator(func): def wrap 阅读全文
posted @ 2023-03-08 12:27 德克斯特的实验室 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 捕获celery task异常的两种方式, sentry, mail sentry (sentry 记录异常.) import sentry_sdk from sentry_sdk.integrations.celery import CeleryIntegration sentry_sdk.ini 阅读全文
posted @ 2023-03-08 10:00 德克斯特的实验室 阅读(129) 评论(0) 推荐(0) 编辑