// updateOutposts grabs the outpost information and inserts it into the // database. func updateOutposts(localdb db.LocalDB) { log.Printf("Starting outposts update") start := time.Now() err := localdb.RepopulateOutposts() if err != nil { log.Printf("Error updating outposts: %v", err) } else { duration := time.Now().Sub(start) log.Printf("Finished outpost update in %.0f ms", duration.Seconds()*1000.0) } }