Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👽️ bump up timeout #103

Merged
merged 2 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/unit/test_control_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ def test_reset_filters(mocker, nclicks, tiled_data_mock):
return_value=tiled_data_mock,
)
from callbacks.control_bar import reset_filters

assert reset_filters(nclicks) == 100
3 changes: 2 additions & 1 deletion utils/data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import json
import requests
from urllib.parse import urlparse
import httpx

from tiled.client import from_uri
from tiled.client.cache import Cache
Expand Down Expand Up @@ -103,7 +104,7 @@ def DEV_filter_json_data_by_timestamp(data, timestamp):
client = from_uri("http://localhost:8000")
data = client
else:
client = from_uri(TILED_URI, api_key=API_KEY)
client = from_uri(TILED_URI, api_key=API_KEY, timeout=httpx.Timeout(30.0))
data = client["reconstruction"]


Expand Down
Loading