Skip to content

Commit

Permalink
fix: Dataset timeout (#21516)
Browse files Browse the repository at this point in the history
  • Loading branch information
geido committed Sep 19, 2022
1 parent 94a724e commit 94ed427
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset/models/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,7 @@ def db_engine_spec(self) -> Type[db_engine_specs.BaseEngineSpec]:
return self.get_db_engine_spec(url)

@classmethod
@memoized
def get_db_engine_spec(cls, url: URL) -> Type[db_engine_specs.BaseEngineSpec]:
backend = url.get_backend_name()
try:
Expand Down

0 comments on commit 94ed427

Please sign in to comment.