• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

旦月秋春

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2021年4月14日

django

摘要: drf接口访问正常,但是一刷新就就会报错 ConnectionAbortedError: [WinError 10053] 你的主机中的软件 1,修改python/Lib/socketserver.py文件,修改SocketWriter类的write方法,具体如下 def write(self, b 阅读全文

posted @ 2021-04-14 10:17 旦月秋春 阅读(78) 评论(0) 推荐(0)

2021年4月2日

django

摘要: django_apscheduler 一次定时启动任务在django中, executors = { 'default': ThreadPoolExecutor(20) # 最多20个线程同时执行}scheduler = BackgroundScheduler(executors=executors 阅读全文

posted @ 2021-04-02 16:33 旦月秋春 阅读(88) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3