From 33dac68b7ee33a4d00a506cb9663bc402f61b2ca Mon Sep 17 00:00:00 2001 From: linus Date: Mon, 28 Aug 2023 13:44:15 +0200 Subject: [PATCH] Added a max retries limit --- toggle.py => settings.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename toggle.py => settings.py (89%) diff --git a/toggle.py b/settings.py similarity index 89% rename from toggle.py rename to settings.py index 45d3975..8ed3716 100644 --- a/toggle.py +++ b/settings.py @@ -19,5 +19,7 @@ postDefault = True # and Twitter. You can have both the actual language of the tweet, and the selector language # added to the tweet and it will still work. # Accepted values: Any language tag in quotes (https://en.wikipedia.org/wiki/IETF_language_tag) -mastodonLang = "" -twitterLang = "" \ No newline at end of file +mastodonLang = "da" +twitterLang = "no" +# Sets maximum amount of times poster will retry a failed crosspost. +maxRetries = 5