File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ Helper function for `open_exclusive` for deciding if a pidfile is stale.
147147"""
148148function stale_pidfile (path:: String , stale_age:: Real )
149149 pid, hostname, age = parse_pidfile (path)
150- age < - stale_age && @warn " filesystem time skew detected" path= path
150+ age < - stale_age && @debug " filesystem time skew detected" path= path
151151 if age > stale_age
152152 if (age > stale_age * 25 ) || ! isvalidpid (hostname, pid)
153153 return true
@@ -191,7 +191,7 @@ function open_exclusive(path::String;
191191 if ! wait
192192 if file === nothing && stale_age > 0
193193 if stale_age > 0 && stale_pidfile (path, stale_age)
194- @warn " attempting to remove probably stale pidfile" path= path
194+ @debug " attempting to remove probably stale pidfile" path= path
195195 try
196196 rm (path)
197197 catch ex
@@ -224,7 +224,7 @@ function open_exclusive(path::String;
224224 # if the file seems stale, try to remove it before attempting again
225225 # set stale_age to zero so we won't attempt again, even if the attempt fails
226226 stale_age -= stale_age
227- @warn " attempting to remove probably stale pidfile" path= path
227+ @debug " attempting to remove probably stale pidfile" path= path
228228 try
229229 rm (path)
230230 catch ex
You can’t perform that action at this time.
0 commit comments