Commit graph

89 commits

Author SHA1 Message Date
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
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
Thomas Zarebczan
76a27fdef1 str > list for a few fields 2019-07-16 00:59:06 -04:00
Lex Berezhny
0f1bde2274 pylint 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
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
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
dc8b4b5252 instrument wallet.server.db.reader with timer metrics 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
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
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
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
Lex Berezhny
c5aeac6898 sqlite performance script measures sql time inside each process individually 2019-07-11 20:10:28 -04:00
Lex Berezhny
b81c801f2d sqlite perf test script 2019-07-11 19:20:58 -04:00
Lex Berezhny
cc098f3090 refactored wallet server db reader to support thread pool and process pool 2019-07-11 14:04:49 -04:00
Lex Berezhny
a73c5aec27 pylint 2019-07-11 14:04:49 -04:00
Lex Berezhny
68b29d9529 multi-process query executor 2019-07-11 14:04:49 -04:00
Alex Grintsvayg
5176feed81 let daemon be shut down before it has fully started. fixes #2231 2019-07-09 16:55:48 -04:00
Lex Berezhny
8c63033461 tx parsing speedup and faster wallet sync 2019-07-09 02:20:56 -04:00
Lex Berezhny
8c878f8e25 claim search uses different tag filtering approaches depeding on query type 2019-07-08 16:33:24 -04:00
Lex Berezhny
99d21e93f3 added --no_totals argument to claim_search 2019-07-07 23:51:32 -04:00
Lex Berezhny
350e610f15 handle invalid fee in old JSON claims 2019-07-06 20:53:03 -04:00
Thomas Zarebczan
4f208b6b31
Merge pull request #2286 from osilkin98/2279-fix
Fixes corner case on comment validation for pending channel
2019-07-03 14:14:47 -04:00
Thomas Zarebczan
09db71ae7f
Update comment_client.py 2019-07-02 23:39:27 -04:00
Thomas Zarebczan
60dc43340d
use util.aiohttp
Fix certificate errors
2019-07-02 18:38:43 -04:00
Oleg Silkin
256b10bd7d
Merge branch 'master' into 2279-fix 2019-07-02 12:01:00 -04:00
Oleg Silkin
77adcaeb50 Fixes corner case where channel is pending confirmation 2019-07-02 11:58:24 -04:00
Jack Robison
a2953ac9ac
test session bloat from timed out sockets 2019-07-01 11:36:26 -04:00
Jack Robison
4f5a4d9ce0
add track_bandwidth config setting to disable bandwidth usage in status 2019-07-01 09:54:06 -04:00
Lex Berezhny
82f2ad21e1 added IGNORE to insert into trend query 2019-06-28 16:02:54 -04:00
Lex Berezhny
86b46ebf19 fix for has_channel_signature in claim_search 2019-06-26 19:19:10 -04:00
Lex Berezhny
ca999053ae update lbrycrd to v0.12.4.1 2019-06-26 12:40:26 -04:00
Lex Berezhny
8b152f3c96 check for valid fee.currency and fee.amount before processing 2019-06-26 10:44:33 -04:00
Lex Berezhny
c68bfbdf2e v0.38.0 2019-06-25 16:27:01 -04:00
Jack Robison
7e8180fefc fix attribute error if availability_response field is missing 2019-06-25 16:22:02 -04:00