diff --git a/src/sageworks/aws_service_broker/aws_service_broker.py b/src/sageworks/aws_service_broker/aws_service_broker.py index c0957914d..7734cda31 100644 --- a/src/sageworks/aws_service_broker/aws_service_broker.py +++ b/src/sageworks/aws_service_broker/aws_service_broker.py @@ -96,7 +96,7 @@ def __class_init__(cls, database_scope): cls.fresh_cache = SageWorksCache(expire=60, postfix=":fresh") # Thread Pool for Refreshes - cls.thread_pool = ThreadPoolExecutor(max_workers=1) # 1 thread to do data refreshes, bunch of threads = AWS Throttling + cls.thread_pool = ThreadPoolExecutor(max_workers=1) # 1 thread for data refreshes, bunch of threads = AWS Throttling # This connection map sets up the connector objects for each category of metadata # Note: Even though this seems confusing, it makes other code WAY simpler diff --git a/src/sageworks/aws_service_broker/aws_service_connectors/connector.py b/src/sageworks/aws_service_broker/aws_service_connectors/connector.py index 3a8c97f68..de3f44bd9 100644 --- a/src/sageworks/aws_service_broker/aws_service_connectors/connector.py +++ b/src/sageworks/aws_service_broker/aws_service_connectors/connector.py @@ -62,7 +62,7 @@ def sageworks_meta_via_arn(self, arn: str) -> dict: # Note: AWS List Tags can get grumpy if called too often self.log.debug(f"Calling list_tags AWS request {arn}...") try: - time.sleep(0.5) # Sleep for 0.5 seconds to avoid throttling + time.sleep(0.25) # Sleep for 0.25 seconds to avoid throttling aws_tags = self.sm_session.list_tags(arn) except botocore.exceptions.ClientError as e: error_code = e.response["Error"]["Code"]