aboutsummaryrefslogtreecommitdiff
path: root/examples/05_command_framework/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-01-06 08:04:35 -0800
committerZeyla Hellyer <[email protected]>2018-01-06 08:04:35 -0800
commit08db9fa2adef141743ab9681c46dd91489278063 (patch)
tree26f2171cd043b264a01302b20eac3ff9406fd064 /examples/05_command_framework/src
parentFurther generic-ify `reaction_users` `after` param (diff)
downloadserenity-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