Skip to content

Commit

Permalink
Reset lock on fork
Browse files Browse the repository at this point in the history
  • Loading branch information
rshkarin committed Sep 3, 2024
1 parent 9c3f611 commit 75ab3fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gcsfs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
from .inventory_report import InventoryReport
from .retry import errs, retry_request, validate_response

os.register_at_fork(
after_in_child=asyn.reset_lock,
)

logger = logging.getLogger("gcsfs")


Expand Down

0 comments on commit 75ab3fc

Please sign in to comment.