Increase file size OR multiplier again
This shouldn't be necessary, but for some unknown reason things error out with the previous value
This commit is contained in:
parent
0809635640
commit
c258952b90
|
@ -16,7 +16,7 @@ public final class FileServerAPI : DotNetAPI {
|
|||
/// be other parameters in the request. On average the multiplier appears to be about 1.5, so when checking whether the file will exceed the file size limit when
|
||||
/// uploading a file we just divide the size of the file by this number. The alternative would be to actually check the size of the HTTP request but that's only
|
||||
/// possible after proof of work has been calculated and the onion request encryption has happened, which takes several seconds.
|
||||
public static let fileSizeORMultiplier: Double = 1.5
|
||||
public static let fileSizeORMultiplier: Double = 6 // TODO: It should be possible to set this to 1.5?
|
||||
|
||||
@objc public static let server = "https://file.getsession.org"
|
||||
@objc public static let fileStorageBucketURL = "https://file-static.lokinet.org"
|
||||
|
|
Loading…
Reference in New Issue