Please sign in to comment.
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 with 16 additions and 9 deletions.