From 20b08810848a5e8ebc9f0ee9a61ebba6d73fd790 Mon Sep 17 00:00:00 2001 From: cryptooda Date: Wed, 30 Jul 2025 21:23:35 +0700 Subject: [PATCH] Change orlean dashboard port --- src/Managing.Bootstrap/ApiBootstrap.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Managing.Bootstrap/ApiBootstrap.cs b/src/Managing.Bootstrap/ApiBootstrap.cs index ddb2336..72bd403 100644 --- a/src/Managing.Bootstrap/ApiBootstrap.cs +++ b/src/Managing.Bootstrap/ApiBootstrap.cs @@ -59,11 +59,11 @@ public static class ApiBootstrap services.Configure(configuration.GetSection("Web3Proxy")); return services - .AddApplication() - .AddInfrastructure(configuration) - .AddWorkers(configuration) - .AddFluentValidation() - .AddMediatR() + .AddApplication() + .AddInfrastructure(configuration) + .AddWorkers(configuration) + .AddFluentValidation() + .AddMediatR() ; } @@ -102,20 +102,20 @@ public static class ApiBootstrap siloBuilder .ConfigureLogging(logging => logging.SetMinimumLevel(LogLevel.Information)); - + // Only enable dashboard in development to avoid shutdown issues if (!isProduction) { - siloBuilder.UseDashboard(options => + siloBuilder.UseDashboard(options => { // Configure dashboard with proper shutdown handling - options.Port = 8080; + options.Port = 9999; options.HostSelf = true; options.CounterUpdateIntervalMs = 10000; // 10 seconds options.HideTrace = true; // Hide trace to reduce dashboard overhead }); } - + siloBuilder.AddMemoryGrainStorageAsDefault() .ConfigureServices(services => {