摘要: 根据错误日志,发现产生死锁的有4个接口。这4个接口中,阅读业务代码,发现均有使用update_or_create。 为什么update_or_create方法会造成死锁呢?通过阅读源码 发现,update_or_create是使用了事务with transaction.atomic(using=se 阅读全文
posted @ 2022-08-23 02:39 silencio。 阅读(293) 评论(0) 推荐(0) 编辑