Reputation: 7225
A rake task loads application environment each time when it runs and therefore creates database connection, what happens to these connections after its execution is over? Please explain and suggest.
Upvotes: 0
Views: 94
Reputation: 6438
The same thing that happens when you shutdown the rails server
and rails console
etc. They get disconnected.
Upvotes: 1