fediblock-instance/lib/constant.js

18 lines
995 B
JavaScript
Raw Normal View History

2024-09-15 17:44:53 +00:00
module.exports = {
index: 'fediblock', // elasticsearch index name
nick: 'fediblockbot', // nick of bot
icon: 'https://manalejandro.com/favicon.png', // icon of the instance
dburl: 'mongodb://fediblock-mongodb:27017', // mongodb connection
dbname: 'fediblock', // mongodb database name
apexdomain: 'fediblock.manalejandro.com', // domain of the instance
agent: 'fediblock.manalejandro.com', // agent of fetch requests
elasticnode: 'http://fediblock-elasticsearch:9200', // elasticsearch connection
workers: 3, // async concurrent workers to scan
schedule: '5,11,17,23', // UTC hours to publish bot followers federated stats
2024-10-14 18:13:12 +00:00
taskdeletedup: '6', // task hour to delete dups index instances entries
2024-09-15 17:44:53 +00:00
filterdomains: ['activitypub-troll.cf'], // domains filtered to scan
2024-09-23 23:18:05 +00:00
initialscan: 'mastodon.social', // initial federated domain to scan
timeout: 3000, // Timeout of each scan request
abort_timeout: 4000 // Timeout of abort scan request
2024-09-15 17:44:53 +00:00
}