forked from goodboy/tractor
				
			Move some infos to runtime level
							parent
							
								
									0fdcfa0ba1
								
							
						
					
					
						commit
						5b3894827f
					
				| 
						 | 
					@ -147,7 +147,7 @@ async def cancel_on_completion(
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            log.info(
 | 
					            log.runtime(
 | 
				
			||||||
                f"Cancelling {portal.channel.uid} gracefully "
 | 
					                f"Cancelling {portal.channel.uid} gracefully "
 | 
				
			||||||
                f"after result {result}")
 | 
					                f"after result {result}")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -277,7 +277,7 @@ async def new_proc(
 | 
				
			||||||
                subactor,
 | 
					                subactor,
 | 
				
			||||||
                parent_addr,
 | 
					                parent_addr,
 | 
				
			||||||
            ) as proc:
 | 
					            ) as proc:
 | 
				
			||||||
                log.info(f"Started {proc}")
 | 
					                log.runtime(f"Started {proc}")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                # wait for actor to spawn and connect back to us
 | 
					                # wait for actor to spawn and connect back to us
 | 
				
			||||||
                # channel should have handshake completed by the
 | 
					                # channel should have handshake completed by the
 | 
				
			||||||
| 
						 | 
					@ -432,7 +432,7 @@ async def mp_new_proc(
 | 
				
			||||||
        if not proc.is_alive():
 | 
					        if not proc.is_alive():
 | 
				
			||||||
            raise ActorFailure("Couldn't start sub-actor?")
 | 
					            raise ActorFailure("Couldn't start sub-actor?")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        log.info(f"Started {proc}")
 | 
					        log.runtime(f"Started {proc}")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            # wait for actor to spawn and connect back to us
 | 
					            # wait for actor to spawn and connect back to us
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue