Skip to content

Commit

Permalink
feat: ability to disable max connection
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ldyy authored Nov 16, 2024
1 parent 99490ac commit 9ebcb71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions comet/api/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ async def playback(request: Request, b64config: str, hash: str, index: str):
connection["ip"] == ip
and connection["connections"]
>= settings.PROXY_DEBRID_STREAM_MAX_CONNECTIONS
and settings.PROXY_DEBRID_STREAM_MAX_CONNECTIONS != -1
for connection in active_ip_connections
):
return FileResponse("comet/assets/proxylimit.mp4")
Expand Down

0 comments on commit 9ebcb71

Please sign in to comment.