mirror of
https://github.com/aserper/masto-rss.git
synced 2024-11-24 19:44:22 +00:00
File is now saved persistenetly
This commit is contained in:
parent
9e1487b6ba
commit
94aee5e001
4
main.py
4
main.py
@ -11,8 +11,8 @@ MASTODON_INSTANCE_URL = os.environ['MASTODON_INSTANCE_URL']
|
|||||||
# RSS feed URL
|
# RSS feed URL
|
||||||
RSS_FEED_URL = os.environ['RSS_FEED_URL']
|
RSS_FEED_URL = os.environ['RSS_FEED_URL']
|
||||||
|
|
||||||
# File to store the processed entry URLs
|
# File to store the processed entry URLs. Note that /state directory is for the docker setup
|
||||||
PROCESSED_ENTRIES_FILE = 'processed_entries.txt'
|
PROCESSED_ENTRIES_FILE = '/state/processed_entries.txt'
|
||||||
|
|
||||||
# Time delay between RSS checks (in seconds)
|
# Time delay between RSS checks (in seconds)
|
||||||
CHECK_INTERVAL = os.environ['CHECK_INTERVAL'] # Check interval in seconds
|
CHECK_INTERVAL = os.environ['CHECK_INTERVAL'] # Check interval in seconds
|
||||||
|
Loading…
Reference in New Issue
Block a user