Skip to content
Open
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
3 changes: 2 additions & 1 deletion fileglancer/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ def _get_file_proxy_client(sharing_key: str, sharing_name: str) -> Tuple[FilePro
# Expand ~ to user's home directory before constructing the mount path
expanded_mount_path = os.path.expanduser(fsp.mount_path)
mount_path = f"{expanded_mount_path}/{proxied_path.path}"
return FileProxyClient(proxy_kwargs={'target_name': sharing_name}, path=mount_path), _get_user_context(proxied_path.username)
# Use 256KB buffer for better performance on network filesystems
return FileProxyClient(proxy_kwargs={'target_name': sharing_name}, path=mount_path, buffer_size=256*1024), _get_user_context(proxied_path.username)


@asynccontextmanager
Expand Down
36 changes: 18 additions & 18 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies = [
"cryptography >=41.0.0",
"sqlalchemy >=2.0.44",
"uvicorn >=0.38.0",
"x2s3 >=1.1.0"
"x2s3 >=1.1.1"
]

[project.scripts]
Expand Down