Skip to content

Commit

Permalink
Updated CORS and increased timeout for onshape
Browse files Browse the repository at this point in the history
  • Loading branch information
ivntsng committed Dec 3, 2024
1 parent b7e783f commit 64f2adb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/app/crud/onshape.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ async def worker(onshape_url: str, listing: Listing, config: ConverterConfig, qu
await queue.put(None)

async def worker_with_timeout() -> None:
await asyncio.wait_for(worker(onshape_url, listing, config, queue), timeout=120)
await asyncio.wait_for(worker(onshape_url, listing, config, queue), timeout=300)
while not queue.empty():
await queue.get()
await queue.put(None)
Expand Down
4 changes: 3 additions & 1 deletion www/settings/configs/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ crypto:
dynamo:
table_name: www
site:
homepage: https://kscale.dev
homepage:
- https://kscale.dev
- https://www.kscale.dev
artifact_base_url: https://media.kscale.store/

0 comments on commit 64f2adb

Please sign in to comment.