Why Rails rollback transaction sliently when thread is aborting?

前端 未结 0 1415
一个人的身影
一个人的身影 2020-11-29 10:52

As you can see in the source code of transaction, it will rollback the transaction if thread is aborting:

if Thread.current.status == "aborting"
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题