Skip to content

Commit

Permalink
Never reload successful resources
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Jun 11, 2024
1 parent 7d548dc commit f94e36b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions odds/backend/processor/resource_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ async def process(self, resource: Resource, dataset: Dataset, catalog: DataCatal
return None
if not self.sem:
self.sem = asyncio.Semaphore(self.concurrency_limit)
if resource.status_loaded and not resource.loading_error:
return None
resource.status_selected = True
to_delete = []
try:
Expand Down

0 comments on commit f94e36b

Please sign in to comment.