working on making the file upload work over websocket and json
This commit is contained in:
32
config.toml
32
config.toml
@@ -3,10 +3,29 @@
|
||||
|
||||
ServerPort = ":8000" #leave format as is it expects a string with colon
|
||||
ServerAddr = "" #blank will bind to default IP address, usually fine to leave be
|
||||
LogLevel = "Debug" # Options = Debug, Info, Warn, Error, Fatal, Panic
|
||||
LogLevel = "Info" # Options = Debug, Info, Warn, Error, Fatal, Panic
|
||||
LogOutput = "stdout" #Options = file, stdout #file will print it to logs/server.log
|
||||
|
||||
SeedRatioStop = 1.50 #automatically stops the torrent after it reaches this seeding ratio
|
||||
DefaultMoveFolder = "downloads" #default path that a finished torrent is symlinked to after completion. Torrents added via RSS will default here
|
||||
|
||||
|
||||
[notifications]
|
||||
|
||||
PushBulletToken = "o.QW6G7F6FUOKXCUKmw948fBceCUn0msFi" #add your pushbullet api token here to notify of torrent completion to pushbullet
|
||||
|
||||
|
||||
[EncryptionPolicy]
|
||||
|
||||
DisableEncryption = false
|
||||
ForceEncryption = false
|
||||
PreferNoEncryption = true
|
||||
|
||||
|
||||
[torrentClientConfig]
|
||||
DownloadDir = "downloads" #the full OR relative path of the default download directory for torrents
|
||||
DownloadDir = "downloads" #the full OR relative path where the torrent server stores in-progress torrents
|
||||
|
||||
Seed = true #boolean #seed after download
|
||||
|
||||
#The address to listen for new uTP and TCP bittorrent protocolconnections. DHT shares a UDP socket with uTP unless configured otherwise.
|
||||
ListenAddr = "" #Leave Blank for default, syntax "HOST:PORT"
|
||||
@@ -22,9 +41,6 @@
|
||||
# Never send chunks to peers.
|
||||
NoUpload = false #boolean
|
||||
|
||||
#seed after download
|
||||
Seed = true #boolean
|
||||
|
||||
# Events are data bytes sent in pieces. The burst must be large enough to fit a whole chunk.
|
||||
UploadRateLimiter = "" #*rate.Limiter
|
||||
|
||||
@@ -63,12 +79,6 @@
|
||||
# Overrides the default DHT configuration, see dhtServerConfig #advanced.. so be careful
|
||||
DHTConfig = "" # default is "dht.ServerConfig"
|
||||
|
||||
[EncryptionPolicy]
|
||||
|
||||
DisableEncryption = false
|
||||
ForceEncryption = false
|
||||
PreferNoEncryption = true
|
||||
|
||||
[dhtServerConfig]
|
||||
# Set NodeId Manually. Caller must ensure that if NodeId does not conform to DHT Security Extensions, that NoSecurity is also set.
|
||||
NodeId = "" #[20]byte
|
||||
|
Reference in New Issue
Block a user