แยก Hangfire TablesPrefix ระหว่าง service
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m51s
Build & Deploy Retirement Service / build (push) Successful in 2m9s
Build & Deploy Discipline Service / build (push) Successful in 1m51s

This commit is contained in:
harid 2026-07-20 14:20:20 +07:00
parent 9c9576692a
commit fe40df025f
3 changed files with 3 additions and 3 deletions

View file

@ -121,7 +121,7 @@ var builder = WebApplication.CreateBuilder(args);
DashboardJobListLimit = 50000, DashboardJobListLimit = 50000,
TransactionTimeout = TimeSpan.FromMinutes(1), TransactionTimeout = TimeSpan.FromMinutes(1),
InvisibilityTimeout = TimeSpan.FromHours(3), InvisibilityTimeout = TimeSpan.FromHours(3),
TablesPrefix = "Hangfire" TablesPrefix = "Hangfire_Discipline"
}))); })));
builder.Services.AddHangfireServer(); builder.Services.AddHangfireServer();
} }

View file

@ -121,7 +121,7 @@ var builder = WebApplication.CreateBuilder(args);
PrepareSchemaIfNecessary = true, PrepareSchemaIfNecessary = true,
DashboardJobListLimit = 50000, DashboardJobListLimit = 50000,
TransactionTimeout = TimeSpan.FromMinutes(1), TransactionTimeout = TimeSpan.FromMinutes(1),
TablesPrefix = "Hangfire" TablesPrefix = "Hangfire_Placement"
}))); })));
builder.Services.AddHangfireServer(); builder.Services.AddHangfireServer();
} }

View file

@ -130,7 +130,7 @@ var builder = WebApplication.CreateBuilder(args);
DashboardJobListLimit = 50000, DashboardJobListLimit = 50000,
TransactionTimeout = TimeSpan.FromMinutes(1), TransactionTimeout = TimeSpan.FromMinutes(1),
InvisibilityTimeout = TimeSpan.FromHours(3), InvisibilityTimeout = TimeSpan.FromHours(3),
TablesPrefix = "Hangfire" TablesPrefix = "Hangfire_Retirement"
}))); })));
builder.Services.AddHealthChecks(); builder.Services.AddHealthChecks();
} }