mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-05 11:49:06 +00:00
Improved the automatic update check for slow connections (#129)
This commit is contained in:
parent
9dfabb3c55
commit
b3dd213538
@ -224,7 +224,7 @@ public sealed class RustService : IDisposable
|
||||
{
|
||||
try
|
||||
{
|
||||
var cts = new CancellationTokenSource(TimeSpan.FromSeconds(16));
|
||||
var cts = new CancellationTokenSource(TimeSpan.FromSeconds(45));
|
||||
var response = await this.http.GetFromJsonAsync<UpdateResponse>("/updates/check", this.jsonRustSerializerOptions, cts.Token);
|
||||
this.logger!.LogInformation($"Checked for an update: update available='{response.UpdateIsAvailable}'; error='{response.Error}'; next version='{response.NewVersion}'; changelog len='{response.Changelog.Length}'");
|
||||
return response;
|
||||
|
@ -1,2 +1,3 @@
|
||||
# v0.9.6, build 181 (2024-09-08 09:xx UTC)
|
||||
- Fixed a bug where you couldn't send results to the synonym assistant.
|
||||
- Fixed a bug where you couldn't send results to the synonym assistant.
|
||||
- Improved the automatic update check by increasing the timeout for really slow connections.
|
Loading…
Reference in New Issue
Block a user