deltacat 1.1.12__py3-none-any.whl → 1.1.13__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
deltacat/__init__.py CHANGED
@@ -44,7 +44,7 @@ from deltacat.types.tables import TableWriteMode
44
44
 
45
45
  deltacat.logs.configure_deltacat_logger(logging.getLogger(__name__))
46
46
 
47
- __version__ = "1.1.12"
47
+ __version__ = "1.1.13"
48
48
 
49
49
 
50
50
  __all__ = [
deltacat/aws/clients.py CHANGED
@@ -42,7 +42,7 @@ RETRYABLE_HTTP_STATUS_CODES = [
42
42
 
43
43
  boto_retry_wrapper = Retrying(
44
44
  wait=wait_random_exponential(multiplier=1, max=10),
45
- stop=stop_after_delay(60 * 5),
45
+ stop=stop_after_delay(60 * 10),
46
46
  # CredentialRetrievalError can still be thrown due to throttling, even if IMDS health checks succeed.
47
47
  retry=retry_if_exception_type(CredentialRetrievalError),
48
48
  )
@@ -185,6 +185,11 @@ class CompactPartitionParams(dict):
185
185
 
186
186
  @property
187
187
  def task_max_parallelism(self) -> int:
188
+ if self.pg_config:
189
+ cluster_resources = self.pg_config.resource
190
+ cluster_cpus = cluster_resources["CPU"]
191
+ self.task_max_parallelism = cluster_cpus
192
+ self["task_max_parallelism"] = self.task_max_parallelism
188
193
  return self["task_max_parallelism"]
189
194
 
190
195
  @task_max_parallelism.setter