Victor Shyba
cacc65d45e
fix edge case from test for single blob stream
2019-05-06 18:18:12 -03:00
Victor Shyba
e8683a24bd
fix should_announce being set on stream creation
2019-05-06 16:49:52 -03:00
Jack Robison
056a629e87
remove unused property
2019-04-24 13:39:06 -04:00
Jack Robison
832537a5cf
set deleted downloads as streaming mode on startup
2019-04-24 09:48:04 -04:00
Jack Robison
46b166952b
non async blob_completed callback, tests
2019-04-24 09:48:04 -04:00
Jack Robison
3a916a8e8e
tests
2019-04-24 09:48:04 -04:00
Jack Robison
93267efe0b
remove StreamAssembler, refactor ManagedStream and StreamDownloader (WIP)
2019-04-24 09:48:04 -04:00
Lex Berezhny
fa9a4a75c6
update to an even newer protobufs
2019-04-20 02:33:41 -04:00
Victor Shyba
665dba62c7
simplify save from resolve, deduplicate items
2019-04-20 01:19:40 -04:00
Victor Shyba
76dea9e89b
batch save supports
2019-04-20 01:19:40 -04:00
Lex Berezhny
5f8482bdb7
hash -> sd_hash, encoding fixes, update to new protobufs
2019-03-27 21:57:22 -04:00
Lex Berezhny
1d68bef6f2
client side pretty much done
2019-03-25 22:54:08 -04:00
Jack Robison
4cbde1b08f
use _batched_select to populate channel names when initializing files
2019-03-12 09:58:19 -04:00
Jack Robison
0d558bd552
fix default file list sorting
2019-02-15 17:26:24 -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
a228d20137
move store_stream and store_file to standalone functions
2019-02-15 15:21:07 -05:00
Jack Robison
f1b60e3ef2
fix get_blobs_for_stream
2019-02-15 15:21:07 -05:00
Jack Robison
39737c790f
sync blob files in database with those in directory on startup
2019-02-15 15:21:07 -05:00
Jack Robison
9d89f9b834
use executemany instead of batched_operation
2019-02-14 15:57:24 -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
Jack Robison
9c8593d88e
fix file_delete being slow
2019-02-14 12:33:48 -05:00
Jack Robison
aeb2891baa
faster population of channel names
2019-02-08 19:51:13 -05:00
Jack Robison
da9b4e317a
limit blobs to announce
2019-02-08 16:29:55 -05:00
Jack Robison
e414cc5c48
whitespace
2019-02-08 16:11:56 -05:00
Jack Robison
868110a6f2
populate stream manager with a single batch query
2019-02-08 16:06:35 -05:00
Victor Shyba
c6b910a5f3
use time_getter on storage
2019-02-05 13:14:59 -03:00
Victor Shyba
7b8f42e6d0
remove dead set_should_announce code
2019-02-05 13:01:12 -03:00
Jack Robison
8cda3143f2
fix setting should_announce and blob status
2019-02-04 18:22:44 -05:00
Jack Robison
3f98b16800
fix blob announce time, use time.time instead of loop.time
2019-02-03 15:47:15 -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
744375b2c0
re-assemble file / resume downloads
2019-02-01 21:28:59 -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
3589cc9977
call update_reflected_stream upon reflector finishing
2019-01-31 15:39:20 -05:00
Victor Shyba
21f2b2dcd7
cast timestamp to integer before querying
2019-01-31 01:09:57 -03:00
Jack Robison
778d3826ab
clean up settings and use them
2019-01-28 15:51:27 -05:00
Jack Robison
5bb94d744e
storage
2019-01-24 00:13:15 -05:00
Jack Robison
db75f0baef
update SQLiteStorage
2019-01-24 00:13:15 -05:00
Lex Berezhny
7a28171a72
conf no longer global
2019-01-22 18:04:17 -05:00
Lex Berezhny
6ae4e68d1c
looping_call shouldnt need to mess with cancellation
2019-01-11 14:33:45 -05:00
Oleg Silkin
b032e99dd1
Removes the twisted dependency from the analytics file and replaces it
...
with `asyncio` and `aiohttp`. Also removes the calling loop from the
analytics in favor of a `dict` that stores the names of the methods
and their coroutines that are wrapped inside a looping task. The tasks
are canceled when the analytics manager is asked to shutdown
Signed-off-by: Oleg Silkin <o.silkin98@gmail.com>
2019-01-11 14:33:45 -05:00
hackrush
c4fac29ecb
actually get the certificate_id
2019-01-08 23:45:20 -05:00
Lex Berezhny
5ca0ebcbb2
store loop on storage
2019-01-07 21:56:05 -05:00
Lex Berezhny
2c84b7a7dd
get_running_loop() -> get_event_loop()
2019-01-07 21:56:05 -05:00
Lex Berezhny
d30e7cd29e
use loop.time() instead of reactor.seconds() in SQLite storage
2019-01-07 21:56:05 -05:00
Lex Berezhny
4bb8129bb7
fixing tests to work with asyncio daemon
2019-01-07 21:56:05 -05:00
Lex Berezhny
86fb99a37c
fully asyncio daemon api
2019-01-07 21:56:05 -05:00
Jack Robison
a6128ac8a2
fix https://github.com/lbryio/lbry/compare/fix-1674
2018-12-04 17:35:40 -05:00
Victor Shyba
9f0b1f3e25
fix pylint failures unveiled after astroid pin
2018-11-26 11:32:41 -05:00
Jack Robison
d704336f20
absolute imports
2018-11-09 16:52:46 -05:00
Jack Robison
a6b643bb34
move files
2018-11-09 16:52:42 -05:00