Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
disabled sqlitestore due to C dependencies complicating build environ…
Browse files Browse the repository at this point in the history
…ment configuration
  • Loading branch information
briandorsey committed Aug 5, 2013
1 parent fec6a65 commit cb3c838
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions partiscid/partiscid.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"flag"
"fmt"
"github.com/briandorsey/partisci/memstore"
"github.com/briandorsey/partisci/sqlitestore"
"github.com/briandorsey/partisci/store"
"github.com/briandorsey/partisci/version"
"io/ioutil"
Expand Down Expand Up @@ -269,15 +268,7 @@ func main() {
l.Print("listening on: ", conn.LocalAddr())

var st store.UpdateStore
if *sqlite == "" {
st = memstore.NewMemoryStore()
} else {
st, err = sqlitestore.NewSQLiteStore(*sqlite)
if err != nil {
l.Fatalf("Error opening SQLite database at:\n %v\n %v",
*sqlite, err)
}
}
st = memstore.NewMemoryStore()

updates := make(chan version.Version)
ss := storeServer{st, updates, *danger}
Expand Down

0 comments on commit cb3c838

Please sign in to comment.