Commit graph

47 commits

Author SHA1 Message Date
Jack Robison 9de3f3ff09
don't block on sending download analytics events 2019-03-01 15:22:19 -05:00
Jack Robison df8934d472
restore old download analytics and update tests 2019-03-01 14:50:06 -05:00
Jack Robison d95903d219
update aiohttp and pylint 2019-02-28 12:04:07 -05:00
Victor Shyba 7a96e742f2
stop trapping CancelledError 2019-02-26 17:42:45 -05:00
Victor Shyba 38ed212c01 refactor, dont call storage from blob_manager + missing await 2019-02-19 21:45:14 -03:00
Victor Shyba d035c13883 file_path can be None, add helper to check if stream output file exists instead 2019-02-19 21:45:14 -03:00
Lex Berezhny 0fdd2ae178 added tx to JSON response from get 2019-02-18 22:53:11 -05:00
Victor Shyba d2150cf142 fix balance check 2019-02-18 22:53:11 -05:00
Jack Robison fd081496c0
fix blocking on data being written for resumed streams 2019-02-15 17:35:46 -05:00
Jack Robison 0d558bd552
fix default file list sorting 2019-02-15 17:26:24 -05:00
Jack Robison ca835f3f80
fix 1883 2019-02-15 16:26:13 -05:00
Jack Robison dbb6ba6241
recover streams with missing sd blobs, handle previous sd blob bugs
-test download and recover stream with old key sorting
2019-02-15 15:21:29 -05:00
Jack Robison 56c41b2fea
fix integration test
-cancel running reflector uploads from publishes upon shutdown
-refactor blob.delete to be non-async
-delete blobs synchronously
2019-02-14 15:43:26 -05:00
Victor Shyba 04f70d1f31 stop when data timeout 2019-02-14 00:10:44 -05:00
Victor Shyba b6df2b9d28 missing None for optional field + pylint 2019-02-13 23:33:49 -05:00
Victor Shyba 5c1ab42277 resume should put the stream into wait as done usually on get calls 2019-02-13 23:33:49 -05:00
Victor Shyba 37bb765a2e resume downloads if DHT disabled 2019-02-13 23:33:49 -05:00
Victor Shyba e2170ec83d fix download timeout types 2019-02-12 20:58:31 -05:00
Jack Robison c9d54bb049
fix max_key_fee 2019-02-11 15:26:13 -05:00
Jack Robison 6386815a29
fix reflect_streams not being followed 2019-02-08 20:13:26 -05:00
Jack Robison 868110a6f2
populate stream manager with a single batch query 2019-02-08 16:06:35 -05:00
Jack Robison dfdc8eda00
improve test, fix stream_finished_event 2019-02-06 13:32:50 -05:00
Jack Robison 58f6cb71c6
test stream manager 2019-02-06 13:08:57 -05:00
Jack Robison c1c6d5bc99
fix deleting partial downloads when stopped and previous streams when updating a publish 2019-02-06 11:43:05 -05:00
Jack Robison 7c8ad0fe30
fix deleting incomplete downloads upon stop
fix deleting previous streams (not assembled/published files) for a claim being updated
2019-02-05 15:33:08 -05:00
Victor Shyba 736a949cb5 resume streams on startup 2019-02-03 20:49:09 -03:00
Jack Robison dcd78bd86e
always delete file from downloads if download was not complete 2019-02-03 16:43:40 -05:00
Jack Robison 0a027cf2de
logging 2019-02-03 15:47:19 -05:00
Jack Robison f2968aab22
add re-reflect task to stream manager, add concurrent_reflector_uploads to config 2019-02-01 22:59:41 -05:00
Jack Robison 478f79353a
fix bytes error 2019-02-01 22:20:11 -05:00
Jack Robison e96b75a0d0
fix file/download paths
move download-from-uri logic into stream manager
2019-02-01 21:40:35 -05:00
Jack Robison c75665d3f0
update file_list docs, add blobs_remaining to file list args and to file dict result 2019-02-01 21:28:59 -05:00
Jack Robison 744375b2c0
re-assemble file / resume downloads 2019-02-01 21:28:59 -05:00
Victor Shyba f5bf1463af fixes from review 2019-02-01 17:09:37 -03:00
Victor Shyba ca4a55ef28 set verified event earlier and remove stop awaits 2019-02-01 16:05:14 -03:00
Jack Robison dabd9cbe1e
faster stream manager startup 2019-02-01 13:53:03 -05:00
Jack Robison 2336015f9a
fix publish
fixes https://github.com/lbryio/lbry/issues/1826
- remove `sources` argument from `publish`
- only add/update files we have
- delete existing stream if updating with a new one
2019-02-01 13:35:18 -05:00
Jack Robison 6e69d306de
tests 2019-01-31 15:39:23 -05:00
Jack Robison a4419f562f
pylint 2019-01-31 15:39:20 -05:00
Jack Robison e60e5b3919
fix updating content claim for a file
-fix file name and download dir not being hex encoded during publish, add repair script
2019-01-31 15:39:20 -05:00
Jack Robison 6aef6a80b7
refactor downloader
split peer accumulation out, use Queues instead of locks
2019-01-31 15:39:20 -05:00
Jack Robison cefe3eb520
fix file_delete 2019-01-28 22:01:43 -05:00
Jack Robison 778d3826ab
clean up settings and use them 2019-01-28 15:51:27 -05:00
Jack Robison a7610e3d34
async reflector 2019-01-25 16:10:17 -05:00
Lex Berezhny 0ee279bfd7 fix startup/shutdown and file_list --full-status argument 2019-01-24 00:13:15 -05:00
Jack Robison a3e64f9cef remove dht requirement from stream manager component 2019-01-24 00:13:15 -05:00
Jack Robison 4bf7742c19 async lbrynet.stream 2019-01-24 00:13:15 -05:00