Skip to content

Default timeout and retry settings for locking mechanisms

Abhidnya edited this page Apr 9, 2020 · 2 revisions

Locking is based of the Portalocker library.

This page documents the behavior when a process tries to acquire a lock which is currently held by other process. Library uses the default timeout of 5 secs which is a default Portalocker setting. Interval for trying to get the lock is 0.25 secs which is also a default Portalocker setting. If a process can not acquire a lock before the timeout a Lock exception will be thrown by the underlying portalocker library.

Clone this wiki locally