Change orlean dashboard port
This commit is contained in:
@@ -59,11 +59,11 @@ public static class ApiBootstrap
|
|||||||
services.Configure<Web3ProxySettings>(configuration.GetSection("Web3Proxy"));
|
services.Configure<Web3ProxySettings>(configuration.GetSection("Web3Proxy"));
|
||||||
|
|
||||||
return services
|
return services
|
||||||
.AddApplication()
|
.AddApplication()
|
||||||
.AddInfrastructure(configuration)
|
.AddInfrastructure(configuration)
|
||||||
.AddWorkers(configuration)
|
.AddWorkers(configuration)
|
||||||
.AddFluentValidation()
|
.AddFluentValidation()
|
||||||
.AddMediatR()
|
.AddMediatR()
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -102,20 +102,20 @@ public static class ApiBootstrap
|
|||||||
|
|
||||||
siloBuilder
|
siloBuilder
|
||||||
.ConfigureLogging(logging => logging.SetMinimumLevel(LogLevel.Information));
|
.ConfigureLogging(logging => logging.SetMinimumLevel(LogLevel.Information));
|
||||||
|
|
||||||
// Only enable dashboard in development to avoid shutdown issues
|
// Only enable dashboard in development to avoid shutdown issues
|
||||||
if (!isProduction)
|
if (!isProduction)
|
||||||
{
|
{
|
||||||
siloBuilder.UseDashboard(options =>
|
siloBuilder.UseDashboard(options =>
|
||||||
{
|
{
|
||||||
// Configure dashboard with proper shutdown handling
|
// Configure dashboard with proper shutdown handling
|
||||||
options.Port = 8080;
|
options.Port = 9999;
|
||||||
options.HostSelf = true;
|
options.HostSelf = true;
|
||||||
options.CounterUpdateIntervalMs = 10000; // 10 seconds
|
options.CounterUpdateIntervalMs = 10000; // 10 seconds
|
||||||
options.HideTrace = true; // Hide trace to reduce dashboard overhead
|
options.HideTrace = true; // Hide trace to reduce dashboard overhead
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
siloBuilder.AddMemoryGrainStorageAsDefault()
|
siloBuilder.AddMemoryGrainStorageAsDefault()
|
||||||
.ConfigureServices(services =>
|
.ConfigureServices(services =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user