diff --git a/Forms/FormMain.cs b/Forms/FormMain.cs index 42cd5e6..d89e1cb 100644 --- a/Forms/FormMain.cs +++ b/Forms/FormMain.cs @@ -753,9 +753,12 @@ internal async Task SendLogToTwitchChatAsync(DpsReportJson reportJSON, bool bypa internal async Task HttpUploadLogAsync(string file, Dictionary postData, bool bypassMessage = false) { AddToText($">:> Uploading {Path.GetFileName(file)}"); - var request = new RestRequest(CreateDPSReportLink(), Method.Post); + var request = new RestRequest(CreateDPSReportLink(), Method.Post) + { + RequestFormat = DataFormat.Json, + Timeout = TimeSpan.FromMinutes(8), + }; request.AddBody(postData); - request.RequestFormat = DataFormat.Json; try { request.AddFile("file", file);