File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
hyperactor_mesh/src/alloc Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -233,6 +233,9 @@ impl RemoteProcessAllocator {
233
233
234
234
ensure_previous_alloc_stopped( & mut active_allocation) . await ;
235
235
}
236
+ // Hearbeat message is discarded immediately after being received, sender (client)
237
+ // relies on channel ack to know if the receiver (remote process allocator) is
238
+ // still alive. No state needs to be updated.
236
239
Ok ( RemoteProcessAllocatorMessage :: HeartBeat ) => { }
237
240
Err ( e) => {
238
241
tracing:: error!( "upstream channel error: {}" , e) ;
@@ -996,6 +999,9 @@ impl Alloc for RemoteProcessAlloc {
996
999
break None ;
997
1000
}
998
1001
}
1002
+ // Hearbeat message is discarded immediately after being received, sender (remote
1003
+ // process allocator) relies on channel ack to know if the receiver (client) is
1004
+ // still alive. No state needs to be updated.
999
1005
Ok ( RemoteProcessProcStateMessage :: HeartBeat ) => { }
1000
1006
Err ( e) => {
1001
1007
break Some ( ProcState :: Failed { world_id: self . world_id. clone( ) , description: format!( "error receiving events: {}" , e) } ) ;
You can’t perform that action at this time.
0 commit comments