Minor tweaks
This commit is contained in:
1 parent
2037d9aca6
commit
acb6757dc8
3 files changed
+9
-14
No files matched your search
@@ -299,7 +299,7 @@ func (s *Store) Insert(service *core.Service, result *core.Result) {
|
||||
}
|
||||
}
|
||||
}
|
||||
//log.Printf("[sqlite][Insert] Successfully inserted result in duration=%dns", time.Since(start).Nanoseconds())
|
||||
//log.Printf("[sqlite][Insert] Successfully inserted result in duration=%dms", time.Since(start).Milliseconds())
|
||||
if err = tx.Commit(); err != nil {
|
||||
_ = tx.Rollback()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user