Skip to content

Commit

Permalink
Improved seat massager sample
Browse files Browse the repository at this point in the history
  • Loading branch information
ashbeitz committed Mar 4, 2024
1 parent 3fefed2 commit 9c875de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ internal static class ModelsRepositoryClientExtensions
{
/// <summary>
/// The Parser's DTMI resolver.
/// It asynchronously gets the DTDL content associated with each of the provided DTMIs from the models repository.
/// It asynchronously gets the model definitions (specified in DTDL) associated with each of the provided DTMIs from the models repository.
/// </summary>
/// <param name="modelRepoClient">The models repository client.</param>
/// <param name="dtmis"></param>
/// <param name="dtmis">The DTMIs whose model definitions should be returned.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>The model definitions for the provided DTMIs.</returns>
public static async IAsyncEnumerable<string> ParserDtmiResolverAsync(
Expand Down
1 change: 1 addition & 0 deletions samples/seat_massager/consumer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ fn start_seat_massage_steps(
break;
} else {
// Ignore this answer request, as it is not the one that we are expecting.
warn!("Received an unexpected answer request with ask_id '{}'. We will retry in a moment.", request.ask_id);
// Immediately try again. This was not a failure, so we do not increment attempts_after_failure or sleep.
continue;
}
Expand Down

0 comments on commit 9c875de

Please sign in to comment.