diff options
| author | Zeyla Hellyer <[email protected]> | 2018-01-06 08:04:35 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-01-06 08:04:35 -0800 |
| commit | 08db9fa2adef141743ab9681c46dd91489278063 (patch) | |
| tree | 26f2171cd043b264a01302b20eac3ff9406fd064 /examples/05_command_framework/src | |
| parent | Further generic-ify `reaction_users` `after` param (diff) | |
| download | serenity-08db9fa2adef141743ab9681c46dd91489278063.tar.xz serenity-08db9fa2adef141743ab9681c46dd91489278063.zip | |
Compare Instants in Shard::latency
When calculating the latency between when a heartbeat was sent and a
heartbeat acknowledgement was received, ensure that the heartbeat
acknowledgement was received after the heartbeat was sent. This avoids a
panic. Otherwise, return None.
Diffstat (limited to 'examples/05_command_framework/src')
0 files changed, 0 insertions, 0 deletions