add Oracle = Leave Service
This commit is contained in:
parent
18d75f4b04
commit
f5558747d8
450 changed files with 882 additions and 2451185 deletions
|
|
@ -16,11 +16,11 @@ using Serilog.Sinks.Elasticsearch;
|
|||
using System.Reflection;
|
||||
using System.Text;
|
||||
using Hangfire;
|
||||
using Hangfire.MySql;
|
||||
using System.Transactions;
|
||||
using BMA.EHR.Leave.Service.Filters;
|
||||
using Hangfire.Common;
|
||||
using BMA.EHR.Application.Repositories.Leaves.TimeAttendants;
|
||||
using Hangfire.Oracle.Core;
|
||||
using System.Data;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
{
|
||||
|
|
@ -108,9 +108,9 @@ var builder = WebApplication.CreateBuilder(args);
|
|||
.UseSimpleAssemblyNameTypeSerializer()
|
||||
.UseRecommendedSerializerSettings()
|
||||
.UseStorage(
|
||||
new MySqlStorage(
|
||||
new OracleStorage(
|
||||
defaultConnection,
|
||||
new MySqlStorageOptions
|
||||
new OracleStorageOptions
|
||||
{
|
||||
TransactionIsolationLevel = IsolationLevel.ReadCommitted,
|
||||
QueuePollInterval = TimeSpan.FromSeconds(15),
|
||||
|
|
@ -119,7 +119,7 @@ var builder = WebApplication.CreateBuilder(args);
|
|||
PrepareSchemaIfNecessary = true,
|
||||
DashboardJobListLimit = 50000,
|
||||
TransactionTimeout = TimeSpan.FromMinutes(1),
|
||||
TablesPrefix = "Hangfire"
|
||||
SchemaName = "HANGFIRE"
|
||||
})));
|
||||
builder.Services.AddHangfireServer();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue