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() {
|
func doCheckDirtyAndConfigSave() {
|
||||||
var count int
|
var count int
|
||||||
now := time.Now()
|
now := time.Now()
|
||||||
|
// log.Info("before findAll()")
|
||||||
all := me.found.SortByFullPath()
|
all := me.found.SortByFullPath()
|
||||||
for all.Scan() {
|
for all.Scan() {
|
||||||
repo := all.Next()
|
repo := all.Next()
|
||||||
|
// log.Info("before isDirty()")
|
||||||
dirty := repo.IsDirty()
|
dirty := repo.IsDirty()
|
||||||
if repo.CheckDirty() {
|
if repo.CheckDirty() {
|
||||||
count += 1
|
count += 1
|
||||||
|
|
Loading…
Reference in New Issue