Fix freeze on pad deletion#3562
Conversation
|
Now that we implemented #3540 this patch should be adapted to |
|
I think this needs to be tested with the async version to see whether it still even causes any freezes. The new code doesn't explicitly wait for any of the |
|
Sorry, I was talking about the new async code in the |
|
@Chocobozzz, any chance you are able to forward port this fix to the current develop? It would be nice if it gets included in 1.8.0. |
|
Sorry for the late. Can I add bluebird as dependency to use the map function? |
|
ping @muxator |
|
Hi, @Chocobozzz, sorry for being late. I just tested installing it and bluebird has no dependencies and is not too big (~700 KB). |
|
IMHO, adding Bluebird is excessive just to get access to a Promise |
Where do you use a map with a concurrency limit? |
|
Fair enough, although you didn't call that out as a specific requirement in your suggestion. |
|
Before merging this PR, we have to remember that we depend on a new release of ueberdb (that incorporates ether/ueberDB#118), or we have to go on with #3675. |
ac29074 to
02110da
Compare
|
I created a custom function instead of adding bluebird and updated the PR |
02110da to
9f35a14
Compare
|
FWIW the UeberDB patch got merged ages ago and it's released on npm so should be good from UeberDB side. cc @muxator |
|
This will be pulled in as soon as #3734 is integrated. |
|
We can go on with this PR, since ueberDB was updated via #3734. But I see there are conflicts. If the conflicts are trivial I can take care of it. If they end up being more that pure dumb text manipulation I will need support from @Chocobozzz. |
|
@Chocobozzz: before merging, I would like - please - that you insert a short note explaining the purpose of I think I got the reason for the conflicts: your Just write me a bit of documentation. 😄 |
|
Done 👍 |
9f35a14 to
a597216
Compare
27aa97d to
2d5f5a0
Compare
|
This was long overdue. Merged & queued for 1.8.3, thanks. |
Fix freeze on pad deletion (if it has many revisions)
Needs ether/ueberDB#118 first (because of https://github.com/Pita/ueberDB/pull/118/files#diff-0a774d4a9cc6e6d690c76811449906c1R214)