Skip to content

Locks taking longer than I expect #118

@dsellarsnr

Description

@dsellarsnr

Hello! I am trying out this library and I just wanted to check if I am using the library correctly and if this is expected. In the repo below I have a bash script that launches 4 concurrent processes to test out the locking and it is taking up to 7 seconds to acquire the lock even though the file locks are only held for 2-3 milliseconds.

https://github.com/dsellarsnr/lock-problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions