mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Don't leave open dangling connections in development mode. [#1335 state:resolved]
This commit is contained in:
parent
529c271699
commit
d20955f889
1 changed files with 1 additions and 2 deletions
|
@ -125,9 +125,8 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
# Returns true if its safe to reload the connection between requests for development mode.
|
||||
# This is not the case for Ruby/MySQL and it's not necessary for any adapters except SQLite.
|
||||
def requires_reloading?
|
||||
false
|
||||
true
|
||||
end
|
||||
|
||||
# Checks whether the connection to the database is still active (i.e. not stale).
|
||||
|
|
Loading…
Reference in a new issue