1
0
voyager-api/ScrapperAPI/appsettings.json

45 lines
990 B
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"ConnectionStrings": {
"Default": "Host=localhost;Port=5432;Database=webscrapper_dev;Username=postgres;Password=devpassword;"
},
"Scraper": {
"DelayMinMs": 100,
"DelayMaxMs": 3000,
"RateLimit": {
"PerDomainMinDelayMs": 500
},
"Retry": {
"MaxAttempts": 5,
"BaseDelayMs": 250,
"MaxDelayMs": 8000
}
},
"Extraction": {
"MaxParallelRuns": 3
},
"Workers": {
"Mode": "Hybrid",
"LeaseSeconds": 120,
"Local": {
"Enabled": true,
"Concurrency": 1,
"PreferAgentsGraceSeconds": 30
},
"Agents": {
"Enabled": true,
"RequireMutualTls": true
}
},
"AllowedHosts": "*",
"Authentication": {
"Authority": "https://auth.evolucao.io/application/o/web-scrapper/",
"Audience": "qbwOof0fnJzIQhiDsM0Kd41dw7YB0Ab15FbnZxHM",
"RequireHttpsMetadata": true
}
}