You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the public acquire interface, you can pass poll_interval (defaults to 0.05). Because the __enter__ method calls acquire without any arguments, there is no way to specify the interval when using FileLock as a context manager.
I suggest adding poll_interval to FileLock.__init__, such that you can control the default (and as such, propagate it down to acquire when no value is given there).