diff options
author | Brian Olsen <brian@maven-group.org> | 2023-09-29T16·34+0200 |
---|---|---|
committer | Brian Olsen <me@griff.name> | 2023-10-02T12·50+0000 |
commit | 5c2cad0ac48d7f223fe76b27d3d7ea9d38529e25 (patch) | |
tree | 4ee968785e9a562925398524da31ef1d1942212c /tvix/nix-compat | |
parent | f5a33ab15f8208b82717bfb6f045da76e8046b34 (diff) |
fix(tvix/store): FuseDaemon unmount is blocking async runtime r/6686
The unmount method in FuseDaemon calls join on a bunch of threads and that is a blocking call but it is called from an async context in the tvix-store binary. This change wraps the call to unmount in a spawn_blocking. Change-Id: If89183b4a3f890874e75f5faf90cd24cb18da1e1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9489 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'tvix/nix-compat')
0 files changed, 0 insertions, 0 deletions