fediblock-instance/lib/constant.js
ale 952a0dc226
Some checks reported errors
continuous-integration/drone/push Build was killed
refactor fediblock and taskdeletedup
2024-10-14 20:13:12 +02:00

18 lines
995 B
JavaScript

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
taskdeletedup: '6', // task hour to delete dups index instances entries
filterdomains: ['activitypub-troll.cf'], // domains filtered to scan
initialscan: 'mastodon.social', // initial federated domain to scan
timeout: 3000, // Timeout of each scan request
abort_timeout: 4000 // Timeout of abort scan request
}