Skip to content

Commit

Permalink
Merge pull request #1770 from pkuehnel/feat/BleTimeout
Browse files Browse the repository at this point in the history
feat(TeslaBleService): increase timeout
  • Loading branch information
pkuehnel authored Jan 24, 2025
2 parents 9651fa8 + 45dbdfb commit 63ee2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TeslaSolarCharger/Server/Services/TeslaBleService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ private async Task<DtoBleCommandResult> SendCommandToBle(DtoBleRequest request)
try
{
//Default timeout of Tesla Command CLI is 21 seconds.
client.Timeout = TimeSpan.FromSeconds(22);
client.Timeout = TimeSpan.FromSeconds(29);
var response = await client.PostAsJsonAsync(url, request.Parameters).ConfigureAwait(false);
var responseContent = await response.Content.ReadAsStringAsync().ConfigureAwait(false);
if (!response.IsSuccessStatusCode)
Expand Down

0 comments on commit 63ee2a0

Please sign in to comment.