* rework server to send download ready back via signalr * adjust queue handling for removal * adjust api to main Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
		
			
				
	
	
		
			53 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "ConnectionStrings": {
 | 
						|
        "DefaultConnection": "Host=/var/run/postgresql;Port=5432;Database=mare;Username=mare;Keepalive=15;Minimum Pool Size=10;Maximum Pool Size=50;No Reset On Close=true;Max Auto Prepare=50;Enlist=false"
 | 
						|
    },
 | 
						|
    "Logging": {
 | 
						|
        "LogLevel": {
 | 
						|
            "Default": "Warning",
 | 
						|
            "Microsoft": "Warning",
 | 
						|
            "Microsoft.Hosting.Lifetime": "Information",
 | 
						|
            "MareSynchronosStaticFilesServer": "Debug",
 | 
						|
            "MareSynchronosShared": "Information",
 | 
						|
            "System.IO": "Information"
 | 
						|
        },
 | 
						|
        "File": {
 | 
						|
            "BasePath": "logs",
 | 
						|
            "FileAccessMode": "KeepOpenAndAutoFlush",
 | 
						|
            "FileEncodingName": "utf-8",
 | 
						|
            "DateFormat": "yyyMMdd",
 | 
						|
            "MaxFileSize": 104857600,
 | 
						|
            "Files": [
 | 
						|
                {
 | 
						|
                    "Path": "<date:yyyy>/<date:MM>/<date:dd>/mare-<date:HH>-<counter:0000>.log"
 | 
						|
                }
 | 
						|
            ]
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "MareSynchronos": {
 | 
						|
        "DbContextPoolSize": 512,
 | 
						|
        "ShardName": "Files Shard 1",
 | 
						|
        "MetricsPort": 6250,
 | 
						|
        "FileServerGrpcAddress": "http://mare-files:6205",
 | 
						|
        "ForcedDeletionOfFilesAfterHours": 2,
 | 
						|
        "CacheSizeHardLimitInGiB": 5,
 | 
						|
        "UnusedFileRetentionPeriodInDays": 14,
 | 
						|
        "CacheDirectory": "/marecache/",
 | 
						|
        "RemoteCacheSourceUri": "http://mare-files:6200/",
 | 
						|
        "MainServerGrpcAddress": "http://mare-server:6005",
 | 
						|
        "DownloadTimeoutSeconds": 30,
 | 
						|
        "DownloadQueueSize": 50,
 | 
						|
        "DownloadQueueReleaseSeconds": 15,
 | 
						|
        "RedisConnectionString": "redis,password=secretredispassword"
 | 
						|
    },
 | 
						|
    "AllowedHosts": "*",
 | 
						|
    "Kestrel": {
 | 
						|
        "Endpoints": {
 | 
						|
            "Http": {
 | 
						|
                "Url": "http://+:6200"
 | 
						|
            }
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "IpRateLimiting": {},
 | 
						|
    "IPRateLimitPolicies": {}
 | 
						|
} |