-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.env
29 lines (23 loc) · 1.34 KB
/
template.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Used only for testing purposes should be kept empty in production
FAKE_FOLLOWERS_IDS=
# Time in seconds after which links that weren't found users profiles should be deleted
LINKS_TTL=172800
# If set (1), check and notify will be executed as one cron based on CRON_SCHEDULE_CHECK_NOTIFY
CHECK_NOTIFY=1
# For more informations about cron schedules visit: https://en.wikipedia.org/wiki/Cron
# schedule when followers are fetched #watchout for the Twitter api limits
CRON_SCHEDULE_FETCH="0 */12 */1 * *"
# Schedule how often/when urls in followers' bio are checked. It should be at max once per hour
CRON_SCHEDULE_CHECK="15 */4 */1 * *"
# Schedule how often/when notifications are send to users. It shouldn't be more often than CRON_SCHEDULE_CHECK
CRON_SCHEDULE_NOTIFY="30 */4 */1 * *"
# Schedule how often/when : urls and check and notifications are send to users. It shouldn't be more often than
CRON_SCHEDULE_CHECK_NOTIFY="30 */4 */1 * *"
# SqlAlchemy database connection string. For more informations visit: https://docs.sqlalchemy.org/en/latest/core/engines.html
## e.g.: "sqlite:///code/data/db.sqlite3" or "sqlite://" for an in-memory database
SQLALCHEMY_DATABASE_URI="sqlite://"
# Twitter app/bot credentials. For more informations visit: https://apps.twitter.com/
TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=
TWITTER_ACCESS_TOKEN=
TWITTER_ACCESS_SECRET=