Commit graph

6592 commits

Author SHA1 Message Date
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
Jack Robison
f506b3e6d4
tests 2019-05-06 18:46:26 -04:00
Jack Robison
f7412514b3
fix partial content 0 padding 2019-05-06 18:46:26 -04:00
Jack Robison
bd6a609b30
fix logging 2019-05-06 18:46:26 -04:00
Jack Robison
4e32b69d1d
don't set running streams as stopped on startup 2019-05-06 18:46:26 -04:00
Jack Robison
1116c7f29e
logging 2019-05-06 18:46:26 -04:00
Jack Robison
d80c671cf2
look victor 2019-05-06 18:46:26 -04:00
Jack Robison
14b12cbea2
block /stream and /get requests on the stream manager starting 2019-05-06 18:46:26 -04:00
Jack Robison
1f7feafb67
force close open streaming requests and api calls on shutdown 2019-05-06 18:46:26 -04:00
Jack Robison
cbe689ea7f
logging 2019-05-06 18:46:26 -04:00
Jack Robison
9099ee2e8e
fix/refactor starting and stopping files
-move partial content handling into ManagedStream
-add delayed stop test
2019-05-06 18:46:26 -04:00
Jack Robison
b134e0c9c9
fix blob_get 2019-05-06 18:46:26 -04:00
Jack Robison
f8c0e80cfc
add __slots__ to BlobInfo, StreamDescriptor, and KademliaPeer 2019-05-06 18:46:26 -04:00
Jack Robison
1f266ebdad
add logging for streams we already have 2019-05-06 18:46:26 -04:00
Jack Robison
b09e1f8825
fix written_bytes never being 0 2019-05-06 18:46:26 -04:00