Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve access edge collection performance #2258

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

meln1k
Copy link
Member

@meln1k meln1k commented Oct 17, 2024

Description

To-Dos

  • I have created tests for any new or updated functionality.
  • I ran tox successfully.

Code of Conduct

By submitting this pull request, I agree to follow the code of conduct.

@@ -271,7 +262,7 @@ def get_last_run() -> Optional[datetime]:
log.warning(f"Unexpected node type {node} in graph")
raise Exception("Only AWS resources expected")

access_edge_collection_enabled = os.environ.get("ACCESS_EDGE_COLLECTION_ENABLED", "false").lower() == "true"
access_edge_collection_enabled = False
Copy link
Member

Choose a reason for hiding this comment

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

This basically disables the functionality always. Let's use it this way:

  • Remove this flag
  • config defaults to false
  • The config property has a warning as a description.

If someone wants to turn it on, it must be enabled in the configuration with clear documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants