Add the host to the lock file and use it to determine if the other process
is local and already dead (in which case we steal the lock immediatly).
Otherwise the old comportement is kept (steal the lock after 120 seconds
of inactivity).
The code is made to deal with old locks it could encountered by treating
those locks as coming from other hosts so there should not be any functional
changes.
正在显示
请
注册
或者
登录
后发表评论