mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
3432a74d23
- Added Cache URLs from Database - and Database Name and Collection set from toml config file
20 lines
502 B
TOML
20 lines
502 B
TOML
[http]
|
|
enabled=true # Enable Website
|
|
port=8080 # Port to listen
|
|
|
|
[backend]
|
|
enabled=true # Enable Backend
|
|
ping=3 # Ping every three minutes
|
|
cache=5 # Get urls from db every five url pings
|
|
|
|
[autoupdate]
|
|
enabled=true # Enable Auto Updater
|
|
check=2 # Check every two minutes
|
|
|
|
[cluster]
|
|
id=1 # Cluster ID
|
|
node=1 # Node ID
|
|
|
|
[mongodb]
|
|
database="PingBot" # MongoDB Database Name
|
|
collection="URL" # MongoDB Collection Name
|