mirror of
https://github.com/d0zingcat/bluesky-crossposter.git
synced 2026-05-28 07:26:50 +00:00
Added a max retries limit
This commit is contained in:
25
settings.py
Normal file
25
settings.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# Enables/disables crossposting to twitter and mastodon
|
||||
# Accepted values: True, False
|
||||
Twitter = True
|
||||
Mastodon = True
|
||||
# Enables/disables logging
|
||||
# Accepted values: True, False
|
||||
Logging = True
|
||||
# Sets default posting mode. True means all posts will be crossposted unless otherwise specified,
|
||||
# False means no posts will be crossposted unless explicitly specified. If no toggle (below) is specified
|
||||
# postDefault will be treated as True no matter what is set.
|
||||
# Accepted values: True, False
|
||||
postDefault = True
|
||||
# The function to select what posts are crossposted (mis)uses the language function in Bluesky.
|
||||
# Enter a language here and all posts will be filtered based on if that language is included
|
||||
# in the post.
|
||||
# E.g. if you set postDefault to True and add German ("de") as post toggle, all posts including
|
||||
# German as a language will be skipped. If postDefault is set to False, only posts including
|
||||
# german will be crossposted. You can use different languages as selectors for Mastodon
|
||||
# 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 = "da"
|
||||
twitterLang = "no"
|
||||
# Sets maximum amount of times poster will retry a failed crosspost.
|
||||
maxRetries = 5
|
||||
Reference in New Issue
Block a user