mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jan-Peter Nilsson
08.51.2020 fdb8409e383243c8a3bbf7e8a1d4c852f607c4f2
refs
author Jan-Peter Nilsson <67913129+jpn-e@users.noreply.github.com>
Tuesday, September 8, 2020 16:51 +0200
committer GitHub <noreply@github.com>
Tuesday, September 8, 2020 16:51 +0200
commitfdb8409e383243c8a3bbf7e8a1d4c852f607c4f2
tree 593e89494d6543c1d727975726cb8857479b488d tree | zip | gz
parent 7caa8a1662944431a40331436042922f2afba021 view | diff
Blacklist misbehaving servers for a little bit (#144)

Since we only handle client connections once per iteration of trying to
connect to other replication servers we can't spend too much time here
or the clients will time out.

By blacklisting misbehaving servers for a few iterations we should get
a few fast iterations where we can accept clients in between trying the
slow servers.
1 files modified
16 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/replication/server/ReplicationServer.java 16 ●●●● diff | view | raw | blame | history