diff --git a/Infrastructure/Twitter/TwitterService.cs b/Infrastructure/Twitter/TwitterService.cs index 0b6eb53..5dc8057 100644 --- a/Infrastructure/Twitter/TwitterService.cs +++ b/Infrastructure/Twitter/TwitterService.cs @@ -69,6 +69,7 @@ private async Task PostTweetAsync(string tweetText, CancellationToken cancellati } } + [AutomaticRetry(Attempts = 3)] public async Task SendTweetAsync(string tweetText) { if (!Debugger.IsAttached) // To prevent tweets from getting posted while testing. Could be better, but...