Home Ruby 当对某个数据库的表段时间频繁操作时,需要使用lock
Post
Cancel

Ruby 当对某个数据库的表段时间频繁操作时,需要使用lock

如题。

1. transaction 

2. lock 

一个都不能少。

This post is licensed under CC BY 4.0 by the author.