github.com/rohankumardubey/proxyfs@v0.0.0-20210108201508-653efa9ab00e/proxyfsd/trackedlock.conf (about)

     1  [TrackedLock]
     2  
     3  # If non-zero check how long each lock was held when it is unlocked
     4  # and log a warning message if it was held for more then the specified
     5  # number of seconds.  Set to "0s" to disable checking.
     6  #
     7  # If enabled, "40s" is the suggested value.
     8  #
     9  LockHoldTimeLimit: 0s
    10  
    11  # If non-zero, schedule a daemon, the trackedlock watcher, to
    12  # periodically check each lock to see if it has been held for longer
    13  # then LockHoldTimeLimit and, if so, log a warning message about the
    14  # lock.  Set to "0s" to disable the daemon (the daemon is also
    15  # disabled if LockHoldTimeLimit is 0).
    16  #
    17  # If enabled, "20s" is the suggested value.
    18  #
    19  LockCheckPeriod: 0s