Greater waits for specialOnce()
This commit is contained in:
parent
d455b13dce
commit
ce1a4e116f
1 changed files with 2 additions and 2 deletions
|
|
@ -544,9 +544,9 @@ function createReplica(path, afterMap = false) {
|
|||
cb(data, key)
|
||||
})
|
||||
},
|
||||
specialOnce(cb, _wait = 500) {
|
||||
specialOnce(cb, _wait = 1000) {
|
||||
this.once((data, key) => {
|
||||
if (isPopulated(data) || _wait === 4500) {
|
||||
if (isPopulated(data) || _wait > 100000) {
|
||||
cb(data, key)
|
||||
} else {
|
||||
forge()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue