Skip to content

Commit

Permalink
Try to prevent timeout. Add back cache
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKallekleiv committed Nov 29, 2023
1 parent 3be9a8b commit 9089deb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/src/backend/user_session/routers/surface/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async def well_intersection_reals_from_user_session(

# Add to cache
for uuid, surface in downloaded_surface_dict.items():
# await cache.set(f"{authenticated_user._user_id}-{uuid}", surface)
await cache.set(f"{authenticated_user._user_id}-{uuid}", surface)
surfaces.append(surface)

# Intersect
Expand Down
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ http {
proxy_temp_path /tmp/proxy_temp;
client_body_temp_path /tmp/client_temp;

keepalive_timeout 65;

keepalive_timeout 300;
proxy_read_timeout 300;
server {
listen 8080 default_server;

Expand Down

0 comments on commit 9089deb

Please sign in to comment.