Fixed scheduler and api configuration
This commit is contained in:
@@ -20,7 +20,7 @@ public static class Quartz
|
||||
services.AddQuartz(config =>
|
||||
{
|
||||
config.UseSimpleTypeLoader();
|
||||
config.UseDefaultThreadPool(options => options.MaxConcurrency = 0);
|
||||
config.UseDefaultThreadPool(options => options.MaxConcurrency = 1);
|
||||
config.UseTimeZoneConverter();
|
||||
|
||||
config.UsePersistentStore(storage =>
|
||||
|
||||
@@ -13,6 +13,7 @@ builder.Services.AddHostedService<JobsWorker>();
|
||||
builder.Services.AddRegisterServicesWithCaching(builder.Configuration);
|
||||
builder.Services.AddEndpointAndServiceCaching(builder.Configuration);
|
||||
builder.Services.AddTransient<ITenantContextService, HeadlessTenantContextService>();
|
||||
builder.Services.AddSkorubaApiService(builder.Configuration);
|
||||
|
||||
builder.Services.AddMediator();
|
||||
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(TelemetryPipelineBehavior<,>));
|
||||
|
||||
@@ -10,6 +10,10 @@
|
||||
"BucketName": "pfm",
|
||||
"CdnBaseUrl": "https://pfm.cdn.khongisa.co.za"
|
||||
},
|
||||
"MachineIdentitySettings": {
|
||||
"Authority": "https://sts.security.khongisa.co.za",
|
||||
"Scope": "skoruba_identity_admin_api"
|
||||
},
|
||||
"Monitoring": {
|
||||
"Address": "http://aspire-dashboard-service.aspire.svc.cluster.local:18889",
|
||||
"ServiceName": "Pfm.Jobs.DEV"
|
||||
|
||||
@@ -26,6 +26,13 @@ services:
|
||||
- GeneralS3Settings__CdnBaseUrl=${GENERAL_S3_CDN_BASE_URL:-https://pfm.cdn.khongisa.co.za}
|
||||
- GeneralS3Settings__AccessKey=${GENERAL_S3_ACCESS_KEY:-}
|
||||
- GeneralS3Settings__SecretKey=${GENERAL_S3_SECRET_KEY:-}
|
||||
|
||||
# Skoruba Duende Administration Security Overrides
|
||||
- ConnectionStrings__SkorubaApi=${SKORUBA_ADMIN_API:-https://api.security.khongisa.co.za/}
|
||||
- MachineIdentitySettings__Authority=${ADMIN_SECURITY_AUTHORITY:-https://sts.security.khongisa.co.za}
|
||||
- MachineIdentitySettings__Scope=${ADMIN_SECURITY_SCOPE:-}
|
||||
- MachineIdentitySettings__ClientId=${ADMIN_SECURITY_CLIENT_ID:-}
|
||||
- MachineIdentitySettings__ClientSecret=${ADMIN_SECURITY_CLIENT_SECRET:-}
|
||||
|
||||
# HashIds overrides
|
||||
- HasherSettings__MinHashLength=${HASHER_MIN_HASH_LENGTH:-11}
|
||||
|
||||
Reference in New Issue
Block a user