fixed small calculation error that forced the upload to allocate 512MB instead of 512KB as upload buffer... ooops :-D
This commit is contained in:
parent
355d2a5f51
commit
2468bf3e16
@ -304,7 +304,7 @@ func (context *PiwigoContext) initializeUploadChunkSize() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
context.chunkSizeInKB = userStatus.Result.UploadFormChunkSize * 1024
|
||||
context.chunkSizeInKB = userStatus.Result.UploadFormChunkSize
|
||||
logrus.Debugf("Got chunksize of %d KB from server.", context.chunkSizeInKB)
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user