remove locking for chunks
This commit is contained in:
parent
760335c57d
commit
283798a220
1 changed files with 0 additions and 4 deletions
|
@ -350,13 +350,9 @@ class File extends Node implements IFile {
|
|||
throw new NotImplemented('Invalid chunk name');
|
||||
}
|
||||
|
||||
$this->changeLock(ILockingProvider::LOCK_EXCLUSIVE);
|
||||
|
||||
$chunk_handler = new \OC_FileChunking($info);
|
||||
$bytesWritten = $chunk_handler->store($info['index'], $data);
|
||||
|
||||
$this->changeLock(ILockingProvider::LOCK_SHARED);
|
||||
|
||||
//detect aborted upload
|
||||
if (isset ($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'PUT') {
|
||||
if (isset($_SERVER['CONTENT_LENGTH'])) {
|
||||
|
|
Loading…
Reference in a new issue