diff options
| author | Zeyla Hellyer <[email protected]> | 2018-03-27 17:10:02 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-03-27 17:10:02 -0700 |
| commit | 5166a0a81bac494b0e337d00f946a85d65e4bbbd (patch) | |
| tree | 036c0778987d2e4a6bb1c277c6e21a653ad42fb6 /examples/05_command_framework/src | |
| parent | Fix heartbeat checking (diff) | |
| download | serenity-5166a0a81bac494b0e337d00f946a85d65e4bbbd.tar.xz serenity-5166a0a81bac494b0e337d00f946a85d65e4bbbd.zip | |
Add a connection timeout
Add a timeout on new connections of 15 seconds. If 15 seconds comes and
no heartbeat interval has yet been received (indicating a lack of a
Hello message being received), then the shard will indicate that it is
in a failed state and needs to be restarted.
If a Hello is received but the handshake is not further completed to a
Ready stage, then a heartbeat acknowledgement check will clean up the
shard and indicate its failed status.
Diffstat (limited to 'examples/05_command_framework/src')
0 files changed, 0 insertions, 0 deletions