mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #2978] [MERGED] Netplay: MAX_CONNECT_RETRIES peer to host connection attempts. #1427
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stenzek/duckstation/pull/2978
Author: @HeatXD
Created: 5/15/2023
Status: ✅ Merged
Merged: 5/16/2023
Merged by: @stenzek
Base:
netplay← Head:netplay_connect_retries📝 Commits (1)
d513b9dNetplay: MAX_CONNECT_RETRIES peer to host connection attempts.📊 Changes
1 file changed (+21 additions, -5 deletions)
View changed files
📝
src/core/netplay.cpp(+21 -5)📄 Description
We want to do this because the peer might have initiated a connection too early while the host was still setting up. this gives the connection MAX_CONNECT_RETRIES tries within MAX_CONNECT_TIME to establish the connection.
Before:
https://github.com/stenzek/duckstation/assets/45072324/96423393-d1b3-40df-9781-fd9ef67b32df
After:
https://github.com/stenzek/duckstation/assets/45072324/30da4429-18f1-4782-a3bc-cc5fdcf252a1
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.