fediblock-instance/lib/constant.js
ale 22ad0eec1d
All checks were successful
continuous-integration/drone/push Build is passing
constant timeouts
2024-09-24 01:18:05 +02:00

17 lines
919 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
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
}