Commit graph

6453 commits

Author SHA1 Message Date
Lex Berezhny
e4aeb66257 claim_list doesnt blow up 2019-07-16 21:08:51 -04:00
Jack Robison
578f8f4062
Merge pull request #2320 from lbryio/interrupt-slow-queries
Interrupt and log slow wallet server queries
2019-07-16 20:50:37 -04:00
Jack Robison
8fbf82f4ea
filter mutually exclusive tags 2019-07-16 20:05:49 -04:00
Jack Robison
478ae7e657
add claim search performance script 2019-07-16 20:05:49 -04:00
Jack Robison
d319761483
interrupt slow queries and log them for debugging
- add QUERY_TIMEOUT_MS env variable

- return sqlite timeout errors, jsonrpc error code -32000
2019-07-16 20:05:45 -04:00
Lex Berezhny
16fb716872 thicker chart line 2019-07-16 17:10:02 -04:00
Lex Berezhny
b8d9d097d8 graph taller 2019-07-16 15:23:45 -04:00
Lex Berezhny
ec79a1d0e8 improved graph ui 2019-07-16 15:21:41 -04:00
Lex Berezhny
31284e0c5e dont run empty queries 2019-07-16 13:57:22 -04:00
Lex Berezhny
8e64b1840d added errors key to metrics tracking 2019-07-16 13:39:17 -04:00
Lex Berezhny
dd9bf04e35 default to HOST for WEBSOCKET_HOST if not set 2019-07-16 12:05:43 -04:00
Thomas Zarebczan
76a27fdef1 str > list for a few fields 2019-07-16 00:59:06 -04:00
Victor Shyba
f96443515a optimize header check 2019-07-16 00:58:36 -04:00
Lex Berezhny
0f1bde2274 pylint 2019-07-16 00:57:53 -04:00
Lex Berezhny
6fb94e445f ver gets cache hit info 2019-07-16 00:57:53 -04:00
Lex Berezhny
e02a4e44c0 working resolve/search caching 2019-07-16 00:57:53 -04:00
Lex Berezhny
71dc882d5d indexes update 2019-07-16 00:57:53 -04:00
Lex Berezhny
ae4a29d41c prevent duplicate tags 2019-07-16 00:57:53 -04:00
Lex Berezhny
d27a3b6421 support for UN M.49 region codes in language 2019-07-16 00:57:53 -04:00
Lex Berezhny
03a58cf50a added lrucache to search/resolve 2019-07-16 00:57:53 -04:00
Lex Berezhny
f43e370e89 refactor 2019-07-16 00:57:53 -04:00
Lex Berezhny
45bdb9023a ui to add servers 2019-07-16 00:57:53 -04:00
Lex Berezhny
6d7aa93157 sqlite_perf_test uses lbry.wallet.server.db.reader 2019-07-16 00:57:53 -04:00
Lex Berezhny
d083910255 refactored metrics gathering for wallet server 2019-07-16 00:57:53 -04:00
Lex Berezhny
db3f9af174 refactored metrics gathering for wallet server 2019-07-16 00:57:53 -04:00
Lex Berezhny
7d2ad5e4ed added TRACK_METRICS env variable to torba wallet server 2019-07-16 00:57:53 -04:00
Lex Berezhny
84d3771984 more detailed stress testing metrics and graphs 2019-07-16 00:57:53 -04:00
Lex Berezhny
1eebe006ae pylint 2019-07-16 00:57:53 -04:00
Lex Berezhny
0327ce53a6 uncomment imports 2019-07-16 00:57:53 -04:00
Lex Berezhny
85442c1d07 websocket admin connection to get query metric data 2019-07-16 00:57:53 -04:00
Lex Berezhny
a6ed51b7a7 websocket admin connection to get query metric data 2019-07-16 00:57:53 -04:00
Lex Berezhny
dc8b4b5252 instrument wallet.server.db.reader with timer metrics 2019-07-16 00:57:53 -04:00
Lex Berezhny
8ca74d3de2 env variables to set websocket host and port 2019-07-16 00:57:53 -04:00
LBRY bot
1923e6f152 v0.38.1 2019-07-15 12:02:18 -04:00
Lex Berezhny
0d621e085b v0.38.1rc1 2019-07-15 11:58:13 -04:00
Victor Shyba
8749c78622 close daemon connector on server close to avoid errors on tests 2019-07-14 00:33:57 -04:00
Victor Shyba
510d88fff1 remove unused checksum, add typing 2019-07-13 01:21:26 -04:00
Victor Shyba
d9460dcd9e refactor and clean up 2019-07-13 01:21:26 -04:00
Victor Shyba
d0607b6fec make header component use torba headers 2019-07-13 01:21:26 -04:00
Victor Shyba
2481305a1a make integrity check faster 2019-07-13 01:21:26 -04:00
Victor Shyba
9990889cce add repair ability to baseheaders 2019-07-13 01:21:26 -04:00
Victor Shyba
14f743c493 show status where expected 2019-07-13 01:21:26 -04:00
Victor Shyba
df8fe2e3ef bump header checksum 2019-07-13 01:21:26 -04:00
Victor Shyba
906fea972e remove lost warning message 2019-07-13 01:21:26 -04:00
Victor Shyba
04a82d5c23 add make test 2019-07-13 01:21:26 -04:00
Victor Shyba
f2944fd33b if no headers, best block hash is genesis 2019-07-13 01:21:26 -04:00
Victor Shyba
dcb1e53aba remove unused network command 2019-07-13 01:21:26 -04:00
Victor Shyba
a4d8508b40 update remote height on demand 2019-07-13 01:21:26 -04:00
Victor Shyba
f109aa1f73 make header access synchronous for now 2019-07-13 01:21:26 -04:00
Victor Shyba
f09c18539b add test for concurrent header access 2019-07-13 01:21:26 -04:00