import env from '#start/env' export default { host: env.get('NNTP_HOST'), port: env.get('NNTP_PORT', 119), user: env.get('NNTP_USER'), password: env.get('NNTP_PASSWORD'), secure: env.get('NNTP_SECURE', false), /** Connections per process. Mind the provider's limit across all processes. */ poolSize: env.get('NNTP_POOL_SIZE', 10), /** A command without an answer this long counts as a dead connection (XOVER of 20k headers takes ~0.2 s). */ commandTimeoutMs: env.get('NNTP_COMMAND_TIMEOUT_MS', 120_000), /** TLS certificate hostname when NNTP_HOST is a tunnel (seeding nodes; lib/nntp/xover_client). */ tlsServername: env.get('NNTP_TLS_SERVERNAME'), }