<commit_before>﻿using System;
using System.Timers;

namespace BackgroundChanger
{
    class Program
    {
        static void Main(string[] args)
        {
            using (new AppLock())
            {
                Config.Load();
                
                // Start timer
                Timer timer = new Timer();
                timer.Elapsed += new ElapsedEventHandler(OnTick);
                timer.Interval = Config.GetInt("interval") * 1000;
                timer.Enabled = true;

                // Start without delay
                OnTick(null, null);

                // Keep application running
                while (true)
                {
                    System.Threading.Thread.Sleep(1000);
                }
            }
        }

        private static void OnTick(object source, ElapsedEventArgs e)
        {
            Desktop.Update();
            Console.WriteLine("Updated desktop");
        }
    }
}<commit_msg>Removed unnecessary timer<commit_after>﻿using System;
using System.Threading;

namespace BackgroundChanger
{
    class Program
    {
        static void Main(string[] args)
        {
            using (new AppLock())
            {
                while (true)
                {
                    Config.Reload();
                    int interval = Config.GetInt("interval") * 60 * 1000;

                    Desktop.Update();
                    Console.WriteLine("Updated desktop");

                    Thread.Sleep(interval);
                }
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.08996088657105607, 'fraction_numerical': 0.009126466753585397, 'mean_word_length': 1.1589310829817159, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3571900', 'n_tokens_mistral': 387, 'n_tokens_neox': 343, 'n_words': 80}