mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
set fileSizeORMultiplier to 2
This commit is contained in:
parent
dcdf603a19
commit
2915a51a28
1 changed files with 1 additions and 1 deletions
|
@ -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 = 6 // TODO: It should be possible to set this to 1.5?
|
||||
public static let fileSizeORMultiplier: Double = 2 // 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 a new issue