mirror of
https://github.com/zoriya/flood.git
synced 2026-06-01 18:47:44 +00:00
clientSettingsMap: remove unused client settings
This commit is contained in:
@@ -5,35 +5,15 @@ export const clientSettingsMap = {
|
||||
dhtPort: 'dht.port',
|
||||
dhtStats: 'dht.statistics',
|
||||
directoryDefault: 'directory.default',
|
||||
maxFileSize: 'system.file.max_size',
|
||||
networkBindAddress: 'network.bind_address',
|
||||
networkHttpCert: 'network.http.cacert',
|
||||
networkHttpMaxOpen: 'network.http.max_open',
|
||||
networkHttpPath: 'network.http.capath',
|
||||
networkHttpProxy: 'network.http.proxy_address',
|
||||
networkLocalAddress: 'network.local_address',
|
||||
networkMaxOpenFiles: 'network.max_open_files',
|
||||
networkMaxOpenSockets: 'network.max_open_sockets',
|
||||
networkPortOpen: 'network.port_open',
|
||||
networkPortRandom: 'network.port_random',
|
||||
networkPortRange: 'network.port_range',
|
||||
networkReceiveBufferSize: 'network.receive_buffer.size',
|
||||
networkScgiDontRoute: 'network.scgi.dont_route',
|
||||
networkSendBufferSize: 'network.send_buffer.size',
|
||||
piecesHashOnCompletion: 'pieces.hash.on_completion',
|
||||
piecesMemoryMax: 'pieces.memory.max',
|
||||
piecesPreloadMinRate: 'pieces.preload.min_rate',
|
||||
piecesPreloadMinSize: 'pieces.preload.min_size',
|
||||
piecesPreloadType: 'pieces.preload.type',
|
||||
piecesSyncAlwaysSafe: 'pieces.sync.always_safe',
|
||||
piecesSyncTimeout: 'pieces.sync.timeout',
|
||||
piecesSyncTimeoutSafe: 'pieces.sync.timeout_safe',
|
||||
protocolPex: 'protocol.pex',
|
||||
sessionOnCompletion: 'session.on_completion',
|
||||
sessionPath: 'session.path',
|
||||
sessionUseLock: 'session.use_lock',
|
||||
systemFileSplitSize: 'system.file.split_size',
|
||||
systemFileSplitSuffix: 'system.file.split_suffix',
|
||||
throttleGlobalDownMax: 'throttle.global_down.max_rate',
|
||||
throttleGlobalUpMax: 'throttle.global_up.max_rate',
|
||||
throttleMaxPeersNormal: 'throttle.max_peers.normal',
|
||||
@@ -47,7 +27,6 @@ export const clientSettingsMap = {
|
||||
throttleMinPeersNormal: 'throttle.min_peers.normal',
|
||||
throttleMinPeersSeed: 'throttle.min_peers.seed',
|
||||
trackersNumWant: 'trackers.numwant',
|
||||
trackersUseUdp: 'trackers.use_udp',
|
||||
} as const;
|
||||
|
||||
// TODO: Is this bidirectional map really necessary?
|
||||
|
||||
Reference in New Issue
Block a user