Skip to content

Commit

Permalink
main back on track
Browse files Browse the repository at this point in the history
  • Loading branch information
mieciu committed Jan 13, 2025
1 parent 6e2ee65 commit 511c614
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions quesma/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ const banner = `
const EnableConcurrencyProfiling = false

// Example of how to use the v2 module api in main function
func main() {
q1 := buildIngestOnlyQuesma() // Back working on ingest for a while
//q1 := buildQueryOnlyQuesma()
q1.Start()
stop := make(chan os.Signal, 1)
<-stop
q1.Stop(context.Background())
}
//func main() {
// q1 := buildIngestOnlyQuesma() // Back working on ingest for a while
// //q1 := buildQueryOnlyQuesma()
// q1.Start()
// stop := make(chan os.Signal, 1)
// <-stop
// q1.Stop(context.Background())
//}

func main2() {
func main() {
if EnableConcurrencyProfiling {
runtime.SetBlockProfileRate(1)
runtime.SetMutexProfileFraction(1)
Expand Down

0 comments on commit 511c614

Please sign in to comment.