Skip to content

Commit

Permalink
-Fixed bug with configuration processing where it would always set de…
Browse files Browse the repository at this point in the history
…bug logging to false.

-Changed claimtrie sync to be go routine so it doesn't stop from panic.
  • Loading branch information
tiger5226 committed May 2, 2018
1 parent 5482c27 commit 19222f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ func processConfiguration() {
if isdebug {
logrus.Info("Setting DebugMode=true")
logrus.SetLevel(logrus.DebugLevel)
} else {
logrus.SetLevel(logrus.InfoLevel)
}
logrus.SetLevel(logrus.InfoLevel)

settings := global.DaemonSettings{
DaemonMode: GetDaemonMode(),
Expand Down
2 changes: 1 addition & 1 deletion daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func initJobs() {
t := time.NewTicker(15 * time.Minute)
for {
<-t.C
jobs.ClaimTrieSync()
go jobs.ClaimTrieSync()
}
}

Expand Down

0 comments on commit 19222f9

Please sign in to comment.