Better log
This commit is contained in:
parent
5d8f9054f8
commit
b77ed72611
1 changed files with 1 additions and 1 deletions
|
|
@ -473,7 +473,6 @@ function createReplica(path, afterMap = false) {
|
||||||
return this
|
return this
|
||||||
},
|
},
|
||||||
put(data, cb) {
|
put(data, cb) {
|
||||||
logger.info('put()')
|
|
||||||
const id = uuid()
|
const id = uuid()
|
||||||
|
|
||||||
const pendingPutsForPath = pendingPuts[path] || (pendingPuts[path] = [])
|
const pendingPutsForPath = pendingPuts[path] || (pendingPuts[path] = [])
|
||||||
|
|
@ -495,6 +494,7 @@ function createReplica(path, afterMap = false) {
|
||||||
type: 'put'
|
type: 'put'
|
||||||
}
|
}
|
||||||
isReady().then(() => {
|
isReady().then(() => {
|
||||||
|
logger.info(`put() to ${path}`)
|
||||||
currentGun.send(msg)
|
currentGun.send(msg)
|
||||||
})
|
})
|
||||||
return this
|
return this
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue