Keep CultMesh RUDP fragments below MTU
This commit is contained in:
parent
a4e91fc3a3
commit
ebed4096de
2 changed files with 3 additions and 3 deletions
|
|
@ -231,7 +231,7 @@ namespace GameCult.Eve.UnityScene
|
|||
ResponseTimeout = TimeSpan.FromSeconds(10),
|
||||
MessageIdPrefix = "eve-unity",
|
||||
RudpRuntimeId = _runtimeId,
|
||||
RudpMaxFragmentBytes = 2048
|
||||
RudpMaxFragmentBytes = 1024
|
||||
}
|
||||
});
|
||||
_assetSession = CultMesh.SnapshotSession(
|
||||
|
|
@ -244,7 +244,7 @@ namespace GameCult.Eve.UnityScene
|
|||
ResponseTimeout = TimeSpan.FromSeconds(10),
|
||||
MessageIdPrefix = "eve-unity-assets",
|
||||
RudpRuntimeId = $"{_runtimeId}.assets",
|
||||
RudpMaxFragmentBytes = 2048
|
||||
RudpMaxFragmentBytes = 1024
|
||||
},
|
||||
_networkRegistry);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ namespace GameCult.Eve.UnityScene
|
|||
ResponseTimeout = TimeSpan.FromSeconds(10),
|
||||
MessageIdPrefix = "eve-unity-discovery",
|
||||
RudpRuntimeId = "eve-unity.discovery",
|
||||
RudpMaxFragmentBytes = 2048
|
||||
RudpMaxFragmentBytes = 1024
|
||||
}
|
||||
});
|
||||
return RunNetwork(() => snapshot.FetchDocumentsAsync<EveProviderAdvertisementDocument>())
|
||||
|
|
|
|||
Reference in a new issue