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
Jack Robison
c496278a5b
Merge pull request #2092 from lbryio/fix_announce_on_storage
...
Set should_announce=1 to head and descriptor blobs when saving a stream to database
2019-05-06 18:45:36 -04:00
Victor Shyba
cacc65d45e
fix edge case from test for single blob stream
2019-05-06 18:18:12 -03:00
Victor Shyba
2247b354b3
integration test for announcing both on publish and download
2019-05-06 17:27:12 -03:00
Victor Shyba
43111f0497
bump db revision
2019-05-06 17:19:40 -03:00
Victor Shyba
6c142b4477
add migrator for previous bugs
2019-05-06 17:12:04 -03:00
Victor Shyba
e8683a24bd
fix should_announce being set on stream creation
2019-05-06 16:49:52 -03:00
Victor Shyba
a4d17d1705
re-enable tests for announcing on stream creation
2019-05-06 16:49:03 -03:00
Baltazar Gomez
a030e13548
fix incorrect media-type of .cbr archives
2019-05-05 20:57:36 -04:00
Jack Robison
32b8601c38
Merge pull request #2083 from lbryio/fix_get_params
...
make save_file a parameter instead of a flag so it obeys conf
2019-05-05 19:44:29 -04:00
Victor Shyba
f5bd28bfdb
make save_file a parameter instead of a flag so it obeys conf
2019-05-05 19:46:42 -03:00
Lex Berezhny
6cbbe23c7c
account_list defaults to 0 confirmations for balance
2019-05-04 18:08:33 -04:00
Lex Berezhny
d7c2e4e9b3
fixed bug where lbrynet failed to start with single-key accounts in the wallet
2019-05-04 17:56:39 -04:00
Jack Robison
d61ddbb950
Merge pull request #2076 from lbryio/download_improv
...
make ttfb configurable, fix race condition on writers, ban on time scales, remove idle code for getting unstuck on long downloads, fix foreign key error and improve downloader loop checks
2019-05-02 17:18:16 -04:00
Victor Shyba
cf7bb6a391
fix tests and stream being deleted on data timeout
2019-05-02 16:41:48 -03:00
Victor Shyba
68d7328918
always close the write handle
2019-05-02 12:20:49 -03:00
Victor Shyba
ff2985cc80
close protocol if transport reuse brings responses before requests
2019-05-02 12:13:33 -03:00
Victor Shyba
ac69fcbc5f
fix possible division by zero
2019-05-02 11:52:09 -03:00
Victor Shyba
609cf42868
cleanup downloader code
2019-05-01 18:04:45 -03:00