quickshare/config.json
Hexxa 44b6e65926
Update limit configs and add setup script (#3)
* chore(config): update up/download speed to make full use of bandwidth

* chore(package.json): add setup script for installing dependencies
2018-05-28 09:13:33 -05:00

77 lines
1.8 KiB
JSON

{
"AppName": "qs",
"AdminId": "admin",
"AdminPwd": "quicksh@re",
"SecretKey": "qs",
"Production": true,
"HostName": "",
"Port": 8888,
"MaxUpBytesPerSec": 10000000,
"MaxDownBytesPerSec": 10000000,
"MaxRangeLength": 10485760,
"Timeout": 7200000,
"ReadTimeout": 5000,
"WriteTimeout": 7200000,
"IdleTimeout": 10000,
"WorkerPoolSize": 16,
"TaskQueueSize": 16,
"QueueSize": 16,
"ParseFormBufSize": 5000000,
"MaxHeaderBytes": 1024,
"DownLimit": -1,
"MaxShares": 16384,
"LocalFileLimit": -1,
"CookieDomain": "",
"CookieHttpOnly": false,
"CookieMaxAge": 604800,
"CookiePath": "/",
"CookieSecure": false,
"KeyAdminId": "adminid",
"KeyAdminPwd": "adminpwd",
"KeyToken": "token",
"KeyFileName": "fname",
"KeyFileSize": "size",
"KeyShareId": "shareid",
"KeyStart": "start",
"KeyLen": "len",
"KeyChunk": "chunk",
"KeyAct": "act",
"KeyExpires": "expires",
"KeyDownLimit": "downlimit",
"ActStartUpload": "startupload",
"ActUpload": "upload",
"ActFinishUpload": "finishupload",
"ActLogin": "login",
"ActLogout": "logout",
"ActShadowId": "shadowid",
"ActPublishId": "publishid",
"ActSetDownLimit": "setdownlimit",
"ActAddLocalFiles": "addlocalfiles",
"AllUsers": "addlocalfiles",
"OpIdIpVisit": 0,
"OpIdUpload": 1,
"OpIdDownload": 2,
"OpIdLogin": 3,
"OpIdGetFInfo": 4,
"OpIdDelFInfo": 5,
"OpIdOpFInfo": 6,
"PathLocal": "files",
"PathLogin": "/login",
"PathDownloadLogin": "/download-login",
"PathDownload": "/download",
"PathUpload": "/upload",
"PathStartUpload": "/startupload",
"PathFinishUpload": "/finishupload",
"PathFileInfo": "/fileinfo",
"PathClient": "/",
"LimiterCap": 256,
"LimiterTtl": 3600,
"LimiterCyc": 1,
"BucketCap": 100,
"SpecialCapsStr": {
"0": 100,
"1": 100,
"2": 100,
"3": 1
}
}