Širhoe Biazhkovič
8580bb37e0
WIP Add support for custom torrents' approval storages
...
* migrate torrentapproval to list storage
* add initial support for torrent file storage (watch directory with fsnotify)
* replace frontend/http/bencode package with github.com/zeebo/bencode module
* sanitize code (fix warnings)
TODO:
* parse torrent files to get hashes,
* watch directory event types
DON'T use for now
2021-09-04 01:49:01 +03:00
Jimmy Zelinskie
dc753b937c
vendor: move to Go modules for dependencies
...
Fixes #444 .
2019-02-12 20:36:25 -05:00
onestraw
e83f68b952
storage/redis: add exiting info
...
Change-Id: I7876bf420a35b48314d14925f5f2ae591fa2d243
2019-01-28 15:18:21 +08:00
onestraw
9d22b67f74
storage/redis: use redis reply
...
Change-Id: If6e6c2545b12c249413d3d13ea41e127b8d1d9b0
2019-01-21 19:44:33 +08:00
onestraw
fa19ffd050
add @mrd0ll4r 's comments
...
Change-Id: I53616703394f889fa2d0a4e952ac857d99c85218
2019-01-20 17:02:05 +08:00
onestraw
f2ab706f10
fix hlen/hdel race condition
...
Change-Id: Ib82e6e9f0c66d2df80d68fd00e0c6ec6b46a037b
2019-01-16 19:09:39 +08:00
onestraw
d65ab677e7
storage/redis: refactor redis storage
...
- Based on @duyanghao's PR
- Make staticcheck pass
- Address review commentsq
2019-01-04 13:58:20 +08:00
duyanghao
e78892d5ac
Add Support for Redis Storage Backend(To Achieve Chihaya High Availability)
...
Change-Id: I5cf703095d1060ac17e403b86056d3eccad97f2c
Signed-off-by: duyanghao <1294057873@qq.com >
2019-01-03 17:21:13 +08:00
Jimmy Zelinskie
d3f3c81c61
initial architecture overhaul
2013-08-23 15:39:42 -04:00
Jimmy Zelinskie
fe2d43a025
removed redundant var block
2013-08-13 20:21:01 -04:00
Jimmy Zelinskie
3df97fea4d
panic on reads inside of a MULTI
2013-08-13 16:36:10 -04:00
Jimmy Zelinskie
33d1caf670
initiateRead helper
2013-08-13 16:06:22 -04:00
Justin Li
55d2c4ae84
Refactor setting up writes in the redis driver
2013-08-13 02:20:44 -04:00
Justin Li
5084a2ac94
Clean up Tx API
2013-08-13 02:06:15 -04:00
Jimmy Zelinskie
40505091f5
storage reorganized around a pool and transactions
2013-07-25 10:03:04 -04:00
Jimmy Zelinskie
d62a71847d
fix package name
2013-07-24 03:12:40 -04:00
Jimmy Zelinskie
94187e4261
initial work on redis scripts
2013-07-24 03:08:38 -04:00
Jimmy Zelinskie
2cd3473d18
redis restructured to use strings of JSON
2013-07-24 00:18:43 -04:00
Jimmy Zelinskie
f7906b9089
tx.SetLeecher/Seeder added
2013-07-23 21:23:43 -04:00
Jimmy Zelinskie
db6d8707df
switch on event; scaffolding for redis driver
2013-07-21 20:15:48 -04:00
Jimmy Zelinskie
4d4a979864
announce handler progress
2013-07-12 00:36:24 -04:00
Jimmy Zelinskie
5cb4e2fabb
Storage API matured, docs, tests & more
2013-07-05 06:50:52 -04:00
Jimmy Zelinskie
279c78192f
transactions, connpools, misc
2013-07-03 18:24:03 -04:00
Jimmy Zelinskie
7ef424639b
nickpicking
2013-06-28 16:29:02 -04:00
Jimmy Zelinskie
7d99b0ea9e
pulled functions out of New()
2013-06-25 23:08:54 -04:00
Jimmy Zelinskie
2759dd6e2f
more redis work
2013-06-25 21:58:06 -04:00
Jimmy Zelinskie
56132e3d64
initial redis work, storage.Storage->storage.Conn,
...
among other new options in the config file for storage timeouts
2013-06-24 14:18:32 -04:00
Jimmy Zelinskie
1bc42063ab
copyright updated; imports renamed; misc fixes
2013-06-21 21:43:11 -04:00
Jimmy Zelinskie
eee2810da6
initial
2013-06-21 19:31:32 -04:00