mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
PyLinkNCWUtils: add "ignore_ts_errors" server option to suppress bogus TS warnings
This commit is contained in:
parent
dda8a2a081
commit
8a096e537c
@ -1474,6 +1474,9 @@ class PyLinkNetworkCoreWithUtils(PyLinkNetworkCore):
|
||||
elif (their_ts < our_ts):
|
||||
if their_ts < 750000:
|
||||
if their_ts != 0: # Sometimes unreal sends SJOIN with 0, don't warn for those
|
||||
if self.serverdata.get('ignore_ts_errors'):
|
||||
log.debug('(%s) Silently ignoring bogus TS %s on channel %s', self.name, their_ts, channel)
|
||||
else:
|
||||
log.warning('(%s) Possible desync? Not setting bogus TS %s on channel %s', self.name, their_ts, channel)
|
||||
else:
|
||||
log.debug('(%s) Resetting channel TS of %s from %s to %s (remote has lower TS)',
|
||||
|
Loading…
Reference in New Issue
Block a user