Leo Balduf
89bc479a3b
*: make use of timecache
2017-10-15 20:05:39 +02:00
Leo Balduf
55b57549a6
pkg/timecache: implement a time cache
2017-10-15 20:05:35 +02:00
mrd0ll4r
8300621799
Merge pull request #358 from mrd0ll4r/clean-logging
...
cmd/chihaya: clean up logging
2017-09-20 17:17:48 +02:00
Leo Balduf
79750ef983
cmd/chihaya: clean up logging
2017-09-19 21:27:52 +02:00
mrd0ll4r
b9773473e4
Merge pull request #356 from mrd0ll4r/stop-tests
...
storage: stop peer store after tests
2017-09-13 15:29:55 +02:00
Leo Balduf
b5dda16706
storage: stop peer store after tests
2017-09-13 03:47:19 +02:00
mrd0ll4r
2a4c82f613
Merge pull request #355 from mrd0ll4r/issue349
...
cmd/chihaya: log which config is in use
2017-09-03 20:55:37 +02:00
mrd0ll4r
464d37b2a7
Merge pull request #354 from mrd0ll4r/fix-debug
...
pkg/log: fix debug logging
2017-09-03 20:55:26 +02:00
Leo Balduf
c7b052dbb2
cmd/chihaya: log which storage is in use
2017-09-03 19:51:29 +02:00
Leo Balduf
13857d5bce
pkg/log: fix debug logging
2017-09-03 11:37:17 +02:00
mrd0ll4r
4f4495f0f3
Merge pull request #350 from mrd0ll4r/benchmark-scrapes
...
storage: add Benchmarks for ScrapeSwarm, optimize implementations
2017-08-30 19:34:55 +02:00
Leo Balduf
5400a99b75
storage: add Benchmarks for ScrapeSwarm, optimize implementations
2017-08-30 08:54:11 +02:00
mrd0ll4r
44dbf4abb4
Merge pull request #351 from mrd0ll4r/log-output
...
log: add SetOutput function
2017-08-30 08:31:20 +02:00
mrd0ll4r
7c666e336a
Merge pull request #352 from mrd0ll4r/subnet-benchconf
...
storage: update benchmark config
2017-08-30 08:30:55 +02:00
Leo Balduf
8ee8793867
storage: update benchmark config
2017-08-25 19:41:41 +02:00
Leo Balduf
3168f50601
log: add SetOutput function
2017-08-24 12:48:13 +02:00
mrd0ll4r
d026424038
Merge pull request #348 from mrd0ll4r/memorybench
...
storage: add PeerLifetime to test config
2017-08-18 12:52:58 +02:00
Leo Balduf
df7b59e2f3
storage: add PeerLifetime to test config
2017-08-17 23:35:20 +02:00
Jimmy Zelinskie
3799b856c2
Merge pull request #346 from jzelinskie/up-deps
...
glide: update dependencies
2017-07-05 15:48:52 -04:00
Jimmy Zelinskie
034aa0b5dc
glide: update dependencies
...
This change also moves the logrus library to the lowercase import in
order to avoid breaking downstream projects vendoring chihaya.
2017-07-03 18:57:13 -04:00
mrd0ll4r
2c67ad4dac
Merge pull request #340 from mrd0ll4r/logging
...
pkg/log: create wrapper around logrus
2017-07-01 23:31:51 +02:00
Jimmy Zelinskie
3f3f75519d
Merge pull request #345 from jzelinskie/README-fix
...
README: update build instructions
2017-07-01 17:11:15 -04:00
Jimmy Zelinskie
c5f8e5a9b0
README: update build instructions
...
Fixes #342 .
2017-07-01 15:16:24 -04:00
Jimmy Zelinskie
13c71b4ee1
Merge pull request #344 from chihaya/fix-shard-key
...
*: fix shard key name
2017-06-30 03:02:33 -04:00
Jimmy Zelinskie
80e9fce087
*: fix shard key name
2017-06-29 17:10:25 -04:00
Leo Balduf
8ed171b0ea
pkg/log: create wrapper around logrus
2017-06-26 20:46:40 +02:00
mrd0ll4r
153ad325b7
Merge pull request #343 from mrd0ll4r/storage-defaults
...
storage: update config defaults
2017-06-26 20:41:48 +02:00
Leo Balduf
1aa6c86d3f
storage: update config defaults
2017-06-25 19:04:24 +02:00
mrd0ll4r
d43cb719b9
Merge pull request #339 from mrd0ll4r/xorshift
...
pkg/xorshift: rebuild to use stack only
2017-06-19 19:48:00 +02:00
Leo Balduf
02336d10e7
pkg/xorshift: rebuild to use stack only
2017-06-19 09:45:26 +02:00
mrd0ll4r
7ea4b3dc7a
Merge pull request #338 from mrd0ll4r/fix-parsing
...
Fix and optimize query parsing, make parsing errors static
2017-06-19 09:03:48 +02:00
Leo Balduf
6e1cfa18d8
bittorrent: make invalid query escape errors static
2017-06-18 22:43:24 +02:00
Leo Balduf
2764717657
bittorrent: fix out-of-range panics for URL parsing
2017-06-18 22:43:21 +02:00
mrd0ll4r
2dcb4344cb
Merge pull request #336 from mrd0ll4r/xorshift
...
pkg/prand: replace with pkg/xorshift
2017-06-12 22:09:38 +02:00
Leo Balduf
03b98e0090
pkg/prand: replace with pkg/xorshift
2017-06-12 22:07:05 +02:00
Jimmy Zelinskie
fa6dcddcb6
Merge pull request #335 from jzelinskie/fix-jwt
...
middleware/jwt: encode infohashes as hex
2017-06-09 00:11:02 -04:00
mrd0ll4r
3a323d9338
Merge pull request #331 from cedricgc/tracker-logic-context
...
TrackerLogic returns modified Contexts
2017-06-08 17:39:04 +02:00
Jimmy Zelinskie
ad496fceb8
middleware/jwt: encode infohashes as hex
...
This avoids some corner-cases that can be experienced when trying to
url-escape raw bytes.
2017-06-07 23:07:07 -04:00
Cedric Charly
f7becf952b
frontend: TrackerLogic interface returns modified context
...
HandleAnnounce and HandleScrape must return the modified context changed
by the hooks. These contexts are passed to AfterAnnounce and AfterScrape
for further use.
Closes #304
2017-06-07 19:25:12 -05:00
Jimmy Zelinskie
3168f13b48
Merge pull request #332 from jzelinskie/jwt-escape-infohash
...
middleware/jwt: escape infohash when debugging
2017-06-06 14:23:26 -04:00
mrd0ll4r
6663c09391
Merge pull request #333 from mrd0ll4r/prom-rules
...
dist/prometheus: add rules for the storage
2017-06-06 19:58:33 +02:00
Jimmy Zelinskie
389dbd20dc
Merge pull request #330 from jzelinskie/helm-flags
...
dist/helm: default debug and json logs
2017-06-06 13:55:45 -04:00
Leo Balduf
53297853a6
dist/prometheus: add rules for the storage
2017-06-06 19:54:02 +02:00
Jimmy Zelinskie
035c5b4960
middleware/jwt: escape infohash when debugging
...
Without this, the log lines end up looking like:
request=��1�H�7L a���-��7
2017-06-06 13:22:14 -04:00
Jimmy Zelinskie
6c3ddaefb3
Merge pull request #329 from jzelinskie/debug-jwt
...
Fix panic on binary start
2017-06-06 12:18:20 -04:00
Jimmy Zelinskie
8dddae0658
dist/helm: sync configs
2017-06-06 12:16:47 -04:00
Jimmy Zelinskie
233b5b52ec
dist/helm: default debug and json logs
2017-06-05 22:37:35 -04:00
Jimmy Zelinskie
0d9a2309fc
middleware/jwt: add debug logs for JWT failures
2017-06-05 22:09:34 -04:00
Jimmy Zelinskie
dab03f52dc
storage: share prometheus models
...
Running of the binary actually caused a panic due to multiple calling of
MustRegister(). This fixes that by sharing models in the storage
package.
2017-06-05 22:07:13 -04:00
Jimmy Zelinskie
edef032381
Merge pull request #301 from jzelinskie/memorybysubnet
...
Storage Drivers (starting w/ subnet memory)
2017-06-04 13:47:55 -07:00