Skip to content

Commit

Permalink
fix: extend cache ttl in case in case invalidation causes any issues …
Browse files Browse the repository at this point in the history
…on projects >1k models
  • Loading branch information
z3z1ma committed May 5, 2024
1 parent a315e0b commit a1c2109
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dbt_osmosis/core/osmosis.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ class DbtYamlManager(DbtProject):
"", # This is the important one
]

# NOTE: we use an arbitrarily large TTL since the YAML manager is not
# a long-running service which needs to periodically invalidate and refresh
ADAPTER_TTL = 1e9

def __init__(
self,
target: Optional[str] = None,
Expand Down

0 comments on commit a1c2109

Please sign in to comment.