diff options
| author | Felix Hanley <felix@userspace.com.au> | 2020-11-08 23:33:08 +0000 |
|---|---|---|
| committer | Felix Hanley <felix@userspace.com.au> | 2020-11-16 22:07:05 +0000 |
| commit | 9b72d1065ca106c98b01b62caefdd2cf8f08178c (patch) | |
| tree | 2adfef8b2f48c80ba23b3df90831766a32ea2d49 /cmd | |
| parent | eda2530094e72463f6aef6e7f9bf524002e248fa (diff) | |
| download | dhtsearch-master.tar.gz dhtsearch-master.tar.bz2 | |
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 |
