<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Polly;
using Polly.Retry;

namespace DavisVantage.WeatherReader
{
    public class RetryPolicies
    {
        public static RetryPolicy<bool> WakeUpPolicy = Policy
                                                        .Handle<Exception>()
                                                        .OrResult(false)
                                                        .WaitAndRetry(3, retryAttempt => TimeSpan.FromSeconds(1));
    }
}<commit_msg>fixed retry delay because if weatherlink online upload to weatherlink.com is enabled it can take some time to get access to the console<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Polly;
using Polly.Retry;

namespace DavisVantage.WeatherReader
{
    public class RetryPolicies
    {
        public static RetryPolicy<bool> WakeUpPolicy = Policy
                                                        .Handle<Exception>()
                                                        .OrResult(false)
                                                        .WaitAndRetry(3, retryAttempt => TimeSpan.FromSeconds(2));
    }
}
{'fraction_non_alphanumeric': 0.06756756756756757, 'fraction_numerical': 0.003179650238473768, 'mean_word_length': 1.5799180327868851, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3389408', 'n_tokens_mistral': 273, 'n_tokens_neox': 277, 'n_words': 76}