Commit graph

6206 commits

Author SHA1 Message Date
Jack Robison
648dbcc36b
add timeout to blob downloads after the head blob, stop timed out streams 2019-05-10 14:50:01 -04:00
Victor Shyba
e59e96190e
fix peer search using inexistent variable, fix test to cover it 2019-05-10 13:49:35 -04:00
Jack Robison
7d2f592bb5
Merge pull request #2107 from lbryio/fix-update-file-we-dont-have
fix stream_update failing on metadata only updates for files we don't have
2019-05-10 12:28:53 -04:00
Jack Robison
1a182bc9bd
bytes/str 2019-05-10 11:50:20 -04:00
Jack Robison
324cbdcdb2
only save the content claim if stream_hash isn't None
-stream_hash being none means we don't have the file in the database
2019-05-10 11:50:20 -04:00
Lex Berezhny
6c0c0ee322 added logging to publish command 2019-05-10 11:43:34 -04:00
Jack Robison
1e54271d8a
Merge pull request #2105 from lbryio/fix-store-content-fee
fix store content fee
2019-05-09 18:47:30 -04:00
Jack Robison
54b9ed6cb2
fix store content fee 2019-05-09 18:14:54 -04:00
Lex Berezhny
2626a28e6d 0.5.3 2019-05-09 18:10:27 -04:00
Lex Berezhny
fb2d7cbe28 pylint 2019-05-09 18:05:17 -04:00
Lex Berezhny
874b3faf8c use a cache when loading TXs in db.get_txos() 2019-05-09 18:05:17 -04:00
Lex Berezhny
558a02d187 correctly format lat/long and fee amounts in JSON RPC response 2019-05-09 16:19:49 -04:00
Jack Robison
3567b331c0 v0.37.0rc6 2019-05-09 11:52:34 -04:00
Jack Robison
9e4cf3c995
Merge pull request #2048 from lbryio/timeout_settings
Adjust default max_connections_per_download and peer_connect_timeout settings
2019-05-09 11:14:59 -04:00
Thomas Zarebczan
db1d547b19
adjust the default max_connections_per_download and peer_connect_timeout 2019-05-09 10:38:32 -04:00
Jack Robison
c31efd780b
docs 2019-05-09 10:32:07 -04:00
Jack Robison
7cdb7987e3
Merge pull request #2102 from lbryio/shutdown_fast
Set a shutdown timeout for TCPSite to avoid hanging on exit
2019-05-09 10:24:13 -04:00
Victor Shyba
ec07037e88 set shutdown_timeout on TCPSite 2019-05-09 01:01:07 -03:00
Lex Berezhny
9bb7b0571e fix integrat tests 2019-05-09 00:00:39 -04:00
Lex Berezhny
d98162a118 stream_update --replace also clears the channel 2019-05-09 00:00:39 -04:00
Jack Robison
c5ae59bff7
Merge pull request #2100 from lbryio/junction_fixes
DHT junction fixes for cases that can lock up
2019-05-08 23:52:54 -04:00
Victor Shyba
efbf2f49a9 fix generator junction 2019-05-08 23:02:38 -03:00
Victor Shyba
77c69f661d add locking cases scenarios 2019-05-08 23:02:38 -03:00
Victor Shyba
2e09d2adfa close search on transport close 2019-05-08 23:02:38 -03:00
Jack Robison
8620a0e424
Merge pull request #2095 from lbryio/add-content-fee-and-saved-file-to-db
add saved_file and content_fee columns to file table
2019-05-08 20:37:56 -04:00
Jack Robison
e2c123456b
write decrypted blob data from run_in_executor 2019-05-08 16:07:32 -04:00
Jack Robison
c9be79f062
prevent re-migrating 10 to 11 2019-05-08 15:13:07 -04:00
Jack Robison
a2a1ef34ab
fix tests 2019-05-08 14:55:09 -04:00
Jack Robison
761a2b235c
set written_bytes, download_path, file_name, and download_directory to None if the file doesn't exist 2019-05-08 14:11:44 -04:00
Jack Robison
3ca2fee592
use stream size from claim if available 2019-05-08 14:11:39 -04:00
Jack Robison
a480b2d25f
fix race when closing blob client protocol after getting a response 2019-05-08 12:21:11 -04:00
Jack Robison
d7032b12d7
add saved_file and content_fee columns to file table
-drop not null constraints for file_name and download_directory

-add migrator
2019-05-08 10:26:06 -04:00
Jack Robison
84381ff76c
Merge pull request #2093 from lbryio/fix_announce_on_storage
Refactor announcer + fixups for last db migrator code
2019-05-07 10:46:12 -04:00
Victor Shyba
007dd43861 re-raise cancelled errors 2019-05-07 11:10:49 -03:00
Victor Shyba
1bc4e4b702 typo on logging, announcements logging is info, not warning 2019-05-07 11:10:49 -03:00
Victor Shyba
b91f27219d use fetchall as there is an update while iterating 2019-05-07 11:10:49 -03:00
Victor Shyba
dc4560cc9a refactor announcer 2019-05-07 11:10:49 -03:00
Victor Shyba
84b471d486 limit batch size on announcer test so it covers batching logic 2019-05-07 11:10:49 -03:00
Victor Shyba
c6a3c05a0c add missing migrator line 2019-05-07 11:10:49 -03:00
Jack Robison
dd665a758d
Merge pull request #2065 from lbryio/streaming-bug-fixes
Streaming bug fixes
2019-05-07 10:10:39 -04:00
Jack Robison
32dc1297ec
fix infinite loop 2019-05-06 18:46:26 -04:00
Jack Robison
bef244ba77
dont make duplicate files 2019-05-06 18:46:26 -04:00
Jack Robison
3c231d6215
handle get with file_name/download_directory/save_file arg for a stream that is already running 2019-05-06 18:46:26 -04:00
Jack Robison
a212cf6ba4
set content_fee attribute 2019-05-06 18:46:26 -04:00
Jack Robison
bc060f1378
pay fee after downloading the sd blob/adding to the db 2019-05-06 18:46:26 -04:00
Jack Robison
22c701fd50
fix completed field for an item in file list 2019-05-06 18:46:26 -04:00
Jack Robison
4f0e8fce6e
add optional download_directory argument to get 2019-05-06 18:46:26 -04:00
Jack Robison
f642cfe9dd
fix resuming save tasks on startup 2019-05-06 18:46:26 -04:00
Jack Robison
24e073680b
add connection id workaround 2019-05-06 18:46:26 -04:00
Jack Robison
b2f63a1545
fix tests 2019-05-06 18:46:26 -04:00