mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-09-04 20:18:27 +02:00
Correct tab indention
git-svn-id: file:///home/svn/framework3/trunk@7642 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
bfe2cc0c53
commit
05733b9d8d
@ -25,15 +25,15 @@ module DBSave
|
||||
def self.included(mod)
|
||||
class << mod
|
||||
def find(*args)
|
||||
ActiveRecord::Base.connection_pool.clear_stale_cached_connections!
|
||||
Lock.mutex.synchronize do
|
||||
ActiveRecord::Base.connection_pool.clear_stale_cached_connections!
|
||||
Lock.mutex.synchronize do
|
||||
super(*args)
|
||||
end
|
||||
end
|
||||
|
||||
def save(*args)
|
||||
ActiveRecord::Base.connection_pool.clear_stale_cached_connections!
|
||||
Lock.mutex.synchronize do
|
||||
ActiveRecord::Base.connection_pool.clear_stale_cached_connections!
|
||||
Lock.mutex.synchronize do
|
||||
super(*args)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user