close unreproducible bug and remove expensive code added to debug it
This commit is contained in:
parent
d437a7708f
commit
64514a3db3
2 changed files with 2 additions and 9 deletions
|
@ -205,15 +205,6 @@ safeToAdd st changes = runThreadState st $
|
|||
openfiles <- S.fromList . map fst3 . filter openwrite <$>
|
||||
liftIO (Lsof.queryDir tmpdir)
|
||||
|
||||
-- TODO this is here for debugging a problem on
|
||||
-- OSX, and is pretty expensive, so remove later
|
||||
liftIO $ debug thisThread
|
||||
[ "checking changes:"
|
||||
, show changes
|
||||
, "vs open files:"
|
||||
, show openfiles
|
||||
]
|
||||
|
||||
let checked = map (check openfiles) changes
|
||||
|
||||
{- If new events are received when files are closed,
|
||||
|
|
|
@ -49,3 +49,5 @@ Already up-to-date.
|
|||
I ran " git annex watch -d --foreground" to watch what was going one, and just created a .gitignore file and the the commiter/lsof thread just loops over and over.... I only noticed as my laptop battery had drained at somepoint when git-annex was running in the background.
|
||||
|
||||
[[!meta title="assistant: lsof/committer thread loops occassionally"]]
|
||||
|
||||
> Closing this since it doesn't seem reproducible. [[done]] --[[Joey]]
|
||||
|
|
Loading…
Add table
Reference in a new issue