37cf19c405
Relocate both the framework multipart buffer (via ASPNETCORE_TEMP) and the controller staging file to a configurable data-disk directory, so large WAV/FLAC/MP3 uploads no longer fail on the host's small tmpfs.
14 lines
579 B
C#
14 lines
579 B
C#
namespace DeepDrftAPI.Models
|
|
{
|
|
/// <summary>
|
|
/// Non-secret upload tunables. <see cref="StagingPath"/> is the directory used to stage the raw
|
|
/// audio body during upload/replace-audio. It must live on the data disk, never the system temp
|
|
/// mount (on the Linux host <c>/tmp</c> is a small RAM-backed tmpfs that cannot hold a multi-hundred-MB
|
|
/// WAV). When null/empty it defaults to a "staging" subdirectory under the FileDatabase vault path.
|
|
/// </summary>
|
|
public class UploadSettings
|
|
{
|
|
public string? StagingPath { get; set; }
|
|
}
|
|
}
|