{
  "Database": {
    "Provider": "MySql",
    "ApplyMigrationsOnStartup": false,
    "CommandTimeoutSeconds": 30
  },
  "ConnectionStrings": {
    "MySql": "",
    "Redis": ""
  },
  "Cache": {
    "Enabled": true,
    "KeyPrefix": "jiaowu:v1",
    "ReferenceExpirationMinutes": 30,
    "ReferenceLocalExpirationSeconds": 120,
    "TimetableExpirationMinutes": 10,
    "TimetableLocalExpirationSeconds": 30,
    "AnalyticsExpirationMinutes": 3,
    "AnalyticsLocalExpirationSeconds": 30,
    "MaximumPayloadKilobytes": 2048
  },
  "Operations": {
    "BackupDirectory": "data/backups",
    "BackupWarningHours": 24,
    "ToolTimeoutMinutes": 30,
    "MySqlDumpPath": "mysqldump",
    "MySqlClientPath": "mysql",
    "MySqlAdditionalArguments": []
  },
  "BackgroundJobs": {
    "Transport": "InMemory",
    "PollIntervalMilliseconds": 500,
    "LeaseSeconds": 120,
    "PrefetchCount": 1,
    "AutomaticScheduleConcurrency": 1,
    "SchedulePublishConcurrency": 1,
    "MakeupExamAutoConcurrency": 1,
    "ExamArrangementConcurrency": 1,
    "Exchange": "jiaowu.background-jobs",
    "QueuePrefix": "jiaowu.background-jobs",
    "UseQuorumQueues": true,
    "ProcessingAttemptLimit": 5,
    "MaintenanceIntervalSeconds": 60,
    "CompletedRetentionDays": 14,
    "CleanupBatchSize": 500
  },
  "RabbitMq": {
    "HostName": "localhost",
    "Port": 5672,
    "UserName": "guest",
    "Password": "guest",
    "VirtualHost": "/",
    "UseTls": false,
    "TlsServerName": ""
  },
  "Jwt": {
    "Issuer": "Jiaowu.Api",
    "Audience": "Jiaowu.Web",
    "Key": "",
    "ExpireMinutes": 60
  },
  "Cors": {
    "Origins": ["capacitor://localhost", "http://localhost"]
  },
  "OfficialDocuments": {
    "InstitutionName": "明序大学",
    "IssuingOffice": "教务处",
    "DocumentNumberPrefix": "MXU",
    "PublicBaseUrl": "",
    "FontPath": ""
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft.AspNetCore": "Warning",
      "Microsoft.EntityFrameworkCore.Database.Command": "Warning"
    }
  },
  "AllowedHosts": "*"
}
