This repository has been archived by the owner on May 25, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed the concept of a 'local session'. If a session is passed in,
it will not be disposed off on the dispose method of CassandraContext like normal. Added a CloseClient method to CassandraSession and call it in the finally block of CassandraContext::ExecuteOperation to, based on the pool type, close the connection to the server, or release the connection back to the pool. This should suffice contexts being kept around for a while be it in a static var etc etc. We definetly need to rework the connection concepts but for the mean time this should work.
- Loading branch information
Showing
3 changed files
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters