Commit Graph

17 Commits

Author SHA1 Message Date
Alexey Skobkin
3dfda7c2be Beanstalkd engine implementation. 2020-11-29 01:27:55 +03:00
Bora M. Alper
8a9b95300a
pkg/persistence refactoring 2020-11-27 17:55:57 +00:00
Alexey Skobkin
ce393beb5e Implementing write-only part (magneticod) of the PostgreSQL back-end. 2020-11-23 21:46:53 +03:00
Bora M. Alper
7c881cae65
add Stdout dummy database engine 2019-09-18 01:51:58 +01:00
Bora M. Alper
64543d71d7
fixed "unable to open database file" (potentially), and errors wrapped in pkg/persistence 2018-12-24 18:27:36 +03:00
Bora Alper
4b9b354171 fixed some go vet warnings, fixed formatting 2018-08-03 15:40:04 +03:00
Bora Alper
dc420da802 cumulative commit! (see the description for changes)
magneticod:
!!! disabled the gradual increase in congestion control, for some reason we still can't detect congestion...
- `*net.UDPAddr` in dht/mainline instead of `net.Addr`
- fixed a bug when a very small extension message received
- simplified how peer adress is handled in bittorrent/metadata/sink
- simplified TrawlingResult in dht/mainline

magneticow:
- use WAL for sqlite3

persistence:
- use URL.String() instead of url.Path in sql.Open() so that URL parameters are not lost...
2018-08-03 11:28:50 +03:00
Bora Alper
a9cf795562 magneticow api is now *completely* done! 2018-07-08 12:08:24 +03:00
Bora Alper
ba1be368cf magneticow & api: statistics are now working! 2018-07-07 14:56:34 +03:00
Bora Alper
e20cdca890 magneticow: orderBy now works at API endpoint, no web interface yet 2018-06-29 20:08:00 +03:00
Bora Alper
0501fc3e3c magneticow: search now works perfectly!
- support for ordering is yet to be implemented
2018-06-19 18:49:46 +03:00
Bora Alper
0c54cc80dc [magneticow] the search now works, but need to change our approach 2018-04-25 21:33:50 +01:00
Bora Alper
ac7d0a514f QueryTorrents() of sqlite3 is complete! (testing needed) 2018-04-21 10:05:12 +01:00
Bora Alper
ad839ae554 updated comments of QueryTorrents() and GetTorrent() in persistence/interface 2018-03-03 22:09:34 +00:00
Bora Alper
5c4d96402d removed enableFTS arg in MakeDatabase 2018-03-03 17:11:13 +00:00
Bora Alper
3a886229fc fixed pkg/persistence/interface.go 2018-03-03 17:09:49 +00:00
Bora Alper
7a49acb50a created /cmd and /pkg directories 2018-03-02 18:56:17 +00:00