Change orlean dashboard port
Some checks failed
Build & Deploy / build-and-deploy (push) Has been cancelled
.NET / build (push) Has been cancelled

This commit is contained in:
2025-07-30 21:23:35 +07:00
parent 84f3e91dc6
commit 20b0881084

View File

@@ -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 =>
{ {