mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-14 08:14:15 +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 System.Collections.Generic;
|
||||||
using MareSynchronosServer.Services;
|
using MareSynchronosServer.Services;
|
||||||
using MareSynchronosShared.Services;
|
using MareSynchronosShared.Services;
|
||||||
|
using System.Net.Http;
|
||||||
|
|
||||||
namespace MareSynchronosServer
|
namespace MareSynchronosServer
|
||||||
{
|
{
|
||||||
|
|
@ -84,6 +85,10 @@ namespace MareSynchronosServer
|
||||||
}).ConfigureChannel(c =>
|
}).ConfigureChannel(c =>
|
||||||
{
|
{
|
||||||
c.ServiceConfig = new ServiceConfig { MethodConfigs = { defaultMethodConfig } };
|
c.ServiceConfig = new ServiceConfig { MethodConfigs = { defaultMethodConfig } };
|
||||||
|
c.HttpHandler = new SocketsHttpHandler()
|
||||||
|
{
|
||||||
|
EnableMultipleHttp2Connections = true
|
||||||
|
};
|
||||||
});
|
});
|
||||||
services.AddGrpcClient<FileService.FileServiceClient>(c =>
|
services.AddGrpcClient<FileService.FileServiceClient>(c =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue