mirror of
				https://git.asonix.dog/asonix/relay.git
				synced 2025-10-31 05:21:17 +00:00 
			
		
		
		
	Use verify spawner in all cases in verify path
This commit is contained in:
		
							parent
							
								
									f06316c6b2
								
							
						
					
					
						commit
						7438b0c5d0
					
				|  | @ -315,7 +315,7 @@ async fn do_server_main( | |||
|                     .wrap(config.digest_middleware().spawner(verify_spawner.clone())) | ||||
|                     .wrap(VerifySignature::new( | ||||
|                         MyVerify( | ||||
|                             requests, | ||||
|                             requests.spawner(verify_spawner.clone()), | ||||
|                             actors.clone(), | ||||
|                             state.clone(), | ||||
|                             verify_spawner.clone(), | ||||
|  |  | |||
|  | @ -208,6 +208,11 @@ impl Requests { | |||
|         } | ||||
|     } | ||||
| 
 | ||||
|     pub(crate) fn spawner(mut self, spawner: Spawner) -> Self { | ||||
|         self.config = self.config.spawner(spawner); | ||||
|         self | ||||
|     } | ||||
| 
 | ||||
|     pub(crate) fn reset_breaker(&self, iri: &IriString) { | ||||
|         self.breakers.succeed(iri); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 asonix
						asonix