mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 15:16:31 +00:00
failsafe load dlls
add user config queue offsets throttle improvements
This commit is contained in:
@@ -13,7 +13,7 @@ public class ResourceLoader([FromKeyedServices(SecurityConstants.EXTERNAL_INFERE
|
||||
public MemoryStream LoadFile(string fileName, string? folder = null)
|
||||
{
|
||||
inferenceClient.Send(RemoteCommand.Create(CommandType.Load, new LoadFileData(fileName, folder)));
|
||||
var bytes = inferenceClient.GetBytes();
|
||||
var bytes = inferenceClient.GetBytes(2, 3);
|
||||
if (bytes == null)
|
||||
throw new Exception($"Unable to receive {fileName}");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user