diff options
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/dhtsearch/main.go (renamed from cmd/main.go) | 2 | ||||
| -rw-r--r-- | cmd/dhtsearch/tag.go (renamed from cmd/tag.go) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/cmd/main.go b/cmd/dhtsearch/main.go index b81ea4c..921de77 100644 --- a/cmd/main.go +++ b/cmd/dhtsearch/main.go @@ -58,7 +58,7 @@ func main() { flag.IntVar(&btNodes, "bt-nodes", 3, "number of BT nodes to start") flag.StringVar(&skipTags, "skip-tags", "xxx", "tags of torrents to skip") - flag.StringVar(&dsn, "dsn", "postgres://dhtsearch@localhost/dhtsearch", "database DSN") + flag.StringVar(&dsn, "dsn", "file:dhtsearch.db?cache=shared&mode=memory", "database DSN") flag.BoolVar(&showVersion, "v", false, "show version") diff --git a/cmd/tag.go b/cmd/dhtsearch/tag.go index 6d5c0ea..6d5c0ea 100644 --- a/cmd/tag.go +++ b/cmd/dhtsearch/tag.go |
