Chunkinfo is managed by another command.
This commit is contained in:
parent
d7f6bbdb0a
commit
e88464469a
1 changed files with 1 additions and 2 deletions
|
@ -34,8 +34,7 @@ class Peer(MessageServer):
|
|||
self._write_message(self._server_sock, {
|
||||
'type': MessageType.REQUEST_PUBLISH,
|
||||
'filename': filename,
|
||||
'size': os.stat(file).st_size,
|
||||
'chunkinfo': []
|
||||
'size': os.stat(file).st_size
|
||||
})
|
||||
lock = threading.Lock()
|
||||
self._publish_locks[filename] = lock
|
||||
|
|
Loading…
Reference in a new issue