eyre: address mark review

This commit is contained in:
Liam Fitzgerald 2021-06-25 08:28:06 +10:00
parent 9aaa44ff33
commit f2583ce080
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB
2 changed files with 6 additions and 9 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9853dba422e06413e04c545a37f4a5eb92049000c30eedc8b56f23c82d484231
size 12392322
oid sha256:66673eb89695d896ca670dc10b7c8c69d427b6c7f22458389156aa9bf09fb1a2
size 12500593

View File

@ -1211,19 +1211,16 @@
:: and replace it
::
=^ cancel-moves state
?. ?=([%| *] state.u.maybe-channel)
?. ?=([%| *] state.u.maybe-channel)
:_ state
(cancel-timeout-move channel-id p.state.u.maybe-channel)^~
=/ cancel-heartbeat
=/ cancel-heartbeat
?~ heartbeat.u.maybe-channel ~
:_ ~
%+ cancel-heartbeat-move channel-id
%+ cancel-heartbeat-move channel-id
[date duct]:u.heartbeat.u.maybe-channel
=- [(weld cancel-heartbeat -<) ->]
%. [%cancel ~]
%* . handle-response
duct p.state.u.maybe-channel
==
(handle-response(duct p.state.u.maybe-channel) [%cancel ~])
:: the request may include a 'Last-Event-Id' header
::
=/ maybe-last-event-id=(unit @ud)