Commit graph

255 commits

Author SHA1 Message Date
Alex Grintsvayg
780e899e90
more specific errors 2020-01-03 10:27:29 -05:00
Alex Grintsvayg
5c5643749e
i/o timeout is not the same as context.DeadlineExceeded 2020-01-02 13:58:11 -05:00
Alex Grintsvayg
11e50a6022
remove unused stats code 2020-01-02 13:27:34 -05:00
Alex Grintsvayg
1603b3bb22
fix circular import 2020-01-02 13:22:51 -05:00
Alex Grintsvayg
5465527faf
Merge branch 'metrics'
* metrics:
  use labels for different error types
  switch to prometheus for metrics
2020-01-02 13:13:29 -05:00
Alex Grintsvayg
5d8a2d697c
use labels for different error types 2020-01-02 13:12:33 -05:00
Alex Grintsvayg
50089481fb
switch to prometheus for metrics 2020-01-02 13:12:33 -05:00
Alex Grintsvayg
d6cf9e9e63
new uber-go import path 2019-12-28 19:24:26 -05:00
Alex Grintsvayg
dc6dd8d12b
fix blocklist, log future blocklist errors, add resolve wallet server method 2019-12-28 19:17:52 -05:00
Alex Grintsvayg
ad8d623863
work around shitty wallet server error response 2019-12-28 19:14:24 -05:00
sayplastic
d89b58c52a
Merge pull request #31 from lbryio/lbry_tv
Put back printf statement into the stats module
2019-12-17 00:36:56 +07:00
Andrey Beletsky
2aa40850b0 Put back printf statement into the stats module 2019-12-17 00:33:34 +07:00
sayplastic
ca24c2be28
Merge pull request #30 from lbryio/lbry_tv
upgrade to lbry.go v2.4.0
2019-12-16 22:53:00 +07:00
Andrey Beletsky
52127eee7c Remove setting default client timeout in peer.NewStore 2019-12-16 22:47:35 +07:00
Andrey Beletsky
95eb94f5a7 Remove excessive INFO-level logging 2019-12-16 21:52:51 +07:00
Andrey Beletsky
834733b675 Add options for peer.NewStore to allow for setting TCP timeout 2019-11-22 18:56:20 +07:00
Mark Beamer Jr
86a553b876
upgrade to lbry.go v2.4.0 2019-11-13 19:11:35 -05:00
Alex Grin
e5438713ce
Merge pull request #27 from StrikerRUS/patch-2
bump year in license
2019-10-09 10:37:39 -04:00
Nikita Titov
f6c4b7d36b
bump year in license 2019-10-08 23:32:22 +03:00
Alex Grintsvayg
661c20a21d
make db-backed store more generic (not specific to s3) 2019-10-03 16:58:17 -04:00
Alex Grintsvayg
69f1e0f4ca
make MemoryStore consistent with the New...() pattern 2019-10-03 16:49:28 -04:00
Alex Grintsvayg
2ca83139df
use stream.Blob for BlobStore interface 2019-10-03 16:34:57 -04:00
Alex Grintsvayg
0af6d65d40
rename FileStore -> DiskStore 2019-10-03 16:24:59 -04:00
Alex Grintsvayg
a8230db802
rewrite getstream command using caching store 2019-10-03 16:13:08 -04:00
Alex Grintsvayg
24f885e268
store blobs on disk in prefix-based subdirectories to avoid too many files in one dir 2019-10-03 16:12:49 -04:00
Alex Grintsvayg
acb9840871
add peer blob store, which gets blobs from a peer 2019-10-03 16:10:29 -04:00
Alex Grintsvayg
a745bafc58
go 1.13 2019-10-03 14:12:42 -04:00
Alex Grintsvayg
bf9e90f14c
comment out github releasing for clarity 2019-10-03 14:02:00 -04:00
Alex Grintsvayg
a98d1e1217
tidy go.mod 2019-10-03 13:41:02 -04:00
Alex Grintsvayg
36ee7e8d1f
add caching blob store 2019-10-03 13:36:35 -04:00
Alex Grintsvayg
c1e8e7481f
fix getstream command to write as it downloads (or else it runs out of memory) 2019-09-27 14:38:49 -04:00
Alex Grintsvayg
cb669eb1a7
add claim decode command 2019-09-11 14:35:25 -04:00
Alex Grintsvayg
08df3b167c
add getstream command to download a stream from a peer 2019-09-11 13:28:58 -04:00
Alex Grintsvayg
1a6b862c96
error on invalid blob hash length 2019-09-10 17:18:44 -04:00
Niko Storni
ce3d4403db update lbry.go dependency 2019-08-28 15:16:02 +02:00
Niko Storni
949ea2f2d8 Merge branch 'public-lib' 2019-08-28 15:07:52 +02:00
Niko Storni
390d2b1eec export fields 2019-08-28 15:07:14 +02:00
Niko Storni
557c595e90 make summary available externally 2019-08-28 15:07:14 +02:00
Niko Storni
7d8772ed63 go mod tidy 2019-08-28 15:02:19 +02:00
Niko Storni
80f3b3437a re-enable reflector on new db 2019-08-20 01:26:23 +02:00
Niko Storni
68caed8a62 disable reflector for server replacement 2019-08-19 19:00:34 +02:00
Niko Storni
3823ee7a4e re-enable db 2019-08-08 19:49:32 +02:00
Niko Storni
5916ab4efd disable db temporarily 2019-08-08 18:42:46 +02:00
Niko Storni
227b362296 re-enable db 2019-08-07 21:32:00 +02:00
Niko Storni
8f280bf52f turn off db for instance resize 2019-08-07 20:39:27 +02:00
Alex Grintsvayg
f30401d7a6
Revert "disable db for migration"
This reverts commit 83bb1791b4.
2019-07-30 18:25:08 -04:00
Alex Grintsvayg
83bb1791b4
disable db for migration 2019-07-30 18:10:01 -04:00
Alex Grintsvayg
3e006f1571
Revert "make new changes backwards-compatible while we migrate"
This reverts commit 594a45a271.
2019-07-30 18:03:56 -04:00
Alex Grintsvayg
2497f354bd
update api domain 2019-07-30 18:02:32 -04:00
Alex Grintsvayg
db83ebe434
update blocklist to new wallet servers 2019-07-30 17:07:01 -04:00