Indexation of files to nodes
This commit is contained in:
parent
70b5285e16
commit
f3ca7b9a44
3 changed files with 115 additions and 43 deletions
|
|
@ -164,9 +164,9 @@ export class Sync {
|
|||
}
|
||||
}
|
||||
}//}}}
|
||||
async filesToServer() {
|
||||
async filesToServer() {// {{{
|
||||
try {
|
||||
const BLOCKSIZE = 128*1024
|
||||
const BLOCKSIZE = 128 * 1024
|
||||
let sentBytes = 0
|
||||
|
||||
const { file, metadata } = await nodeStore.nextFileToSync()
|
||||
|
|
@ -193,7 +193,7 @@ export class Sync {
|
|||
console.error(e)
|
||||
alert(e.message)
|
||||
}
|
||||
}
|
||||
}// }}}
|
||||
}
|
||||
|
||||
export class N2SyncProgress extends CustomHTMLElement {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue