Skip to content
Merged
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
4 changes: 2 additions & 2 deletions nodescraper/pluginexecutor.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ def run_queue(self) -> list[PluginResult]:
self.logger.exception("Unexpected exception running plugin queue: %s", str(e))
finally:
self.logger.info("Closing connections")
for connection_manager in self.connection_library.values():
connection_manager.disconnect()

if self.plugin_config.result_collators:
self.logger.info("Running result collators")
Expand All @@ -217,6 +215,8 @@ def run_queue(self) -> list[PluginResult]:
],
**collator_args,
)
for connection_manager in self.connection_library.values():
connection_manager.disconnect()

return plugin_results

Expand Down