stuff used to debug a hung mutex() lock
This commit is contained in:
parent
ce6311893c
commit
f4bad31b0b
|
@ -37,9 +37,11 @@ func doGitPull() {
|
|||
func doCheckDirtyAndConfigSave() {
|
||||
var count int
|
||||
now := time.Now()
|
||||
// log.Info("before findAll()")
|
||||
all := me.found.SortByFullPath()
|
||||
for all.Scan() {
|
||||
repo := all.Next()
|
||||
// log.Info("before isDirty()")
|
||||
dirty := repo.IsDirty()
|
||||
if repo.CheckDirty() {
|
||||
count += 1
|
||||
|
|
Loading…
Reference in New Issue