Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cassandra/concurrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _execute_next(self):
def _execute(self, idx, statement, params):
self._exec_depth += 1
try:
future = self.session.execute_async(statement, params, timeout=None, execution_profile=self._execution_profile)
future = self.session.execute_async(statement, params, execution_profile=self._execution_profile)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with the analysis here. execute_async() has a default value for the timeout param which results in the default timeout being used as long as no override is supplied (here by way of this call). Code path in _create_response_future() is slightly different when execution contexts are in play but the same analysis seems to hold.

args = (future, idx)
future.add_callbacks(
callback=self._on_success, callback_args=args,
Expand Down