mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 21:27:22 +01:00
merge
This commit is contained in:
commit
db3784e795
1 changed files with 5 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ using MareSynchronosShared.Metrics;
|
|||
using System.Collections.Generic;
|
||||
using MareSynchronosServer.Services;
|
||||
using MareSynchronosShared.Services;
|
||||
using System.Net.Http;
|
||||
|
||||
namespace MareSynchronosServer
|
||||
{
|
||||
|
|
@ -84,6 +85,10 @@ namespace MareSynchronosServer
|
|||
}).ConfigureChannel(c =>
|
||||
{
|
||||
c.ServiceConfig = new ServiceConfig { MethodConfigs = { defaultMethodConfig } };
|
||||
c.HttpHandler = new SocketsHttpHandler()
|
||||
{
|
||||
EnableMultipleHttp2Connections = true
|
||||
};
|
||||
});
|
||||
services.AddGrpcClient<FileService.FileServiceClient>(c =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue