refactor(backend): use single shared HTTP client with backoff
This commit is contained in:
		
							parent
							
								
									bba322bd22
								
							
						
					
					
						commit
						5d452824cd
					
				
					 9 changed files with 232 additions and 75 deletions
				
			
		|  | @ -25,6 +25,7 @@ using Microsoft.EntityFrameworkCore; | |||
| namespace Foxnouns.Backend.Services.Auth; | ||||
| 
 | ||||
| public partial class RemoteAuthService( | ||||
|     HttpClient client, | ||||
|     Config config, | ||||
|     ILogger logger, | ||||
|     DatabaseContext db, | ||||
|  | @ -32,7 +33,6 @@ public partial class RemoteAuthService( | |||
| ) | ||||
| { | ||||
|     private readonly ILogger _logger = logger.ForContext<RemoteAuthService>(); | ||||
|     private readonly HttpClient _httpClient = new(); | ||||
| 
 | ||||
|     public record RemoteUser(string Id, string Username); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue