Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client is (too) quiet if it has to retry #241

Open
ATroschke opened this issue Dec 3, 2023 · 1 comment
Open

Client is (too) quiet if it has to retry #241

ATroschke opened this issue Dec 3, 2023 · 1 comment

Comments

@ATroschke
Copy link

Hey, I just happened to implement a bad behaviour for my Server-Server communication (basically: Retrieve artist > Retrieve all Albums > add all unknown Artists to DB > goto next Artist in DB with lowest updated timestamp)

This made me hit rate limits (quite hard) for my in-Development flagged testing App.

The client now waited - silently - apparently indefinitely.

Could be either provide a way to:

  • Set a hard max-wait for Retry behaviour?
  • Enable some sort of logging capabilities that the client will wait?
@strideynet
Copy link
Collaborator

I'd be open to us implementing the ability to inject a *slog.Logger into the client for these sorts of messages now that slog is available within stdlib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants