摘要:
import time import threading from multiprocessing import Process from concurrent.futures import ProcessPoolExecutor def time_decorator(func): def wrap 阅读全文
摘要:
捕获celery task异常的两种方式, sentry, mail sentry (sentry 记录异常.) import sentry_sdk from sentry_sdk.integrations.celery import CeleryIntegration sentry_sdk.ini 阅读全文