Alex Auvolat
2bea76ce16
Small refactorings
2020-04-12 22:24:53 +02:00
Alex Auvolat
9c931f5eda
Keep network status & ring in a tokio::sync::watch
...
advantages
- reads don't prevent preparing writes
- can be followed from other parts of the system by cloning the receiver
2020-04-11 23:53:32 +02:00
Alex Auvolat
dcf58499a4
table::insert_many, version_table::updated
2020-04-11 19:43:29 +02:00
Alex Auvolat
ff4fb97568
(Try to) disable LTO ?
2020-04-10 22:55:01 +02:00
Alex Auvolat
3477864142
Fix the Sync issue. Details:
...
So the HTTP client future of Hyper is not Sync, thus the stream
that read blocks wasn't either. However Hyper's default Body type
requires a stream to be Sync for wrap_stream. Solution: reimplement
a custom HTTP body type.
2020-04-10 22:01:48 +02:00
Alex Auvolat
d66c0d6833
Why is it not Sync??
2020-04-09 23:45:07 +02:00
Alex Auvolat
a3eb88e601
Locally, transactions
2020-04-09 20:58:39 +02:00
Alex Auvolat
1d786c2c66
Something works
2020-04-09 18:43:53 +02:00
Alex Auvolat
101444abb3
Some progress
2020-04-09 17:32:28 +02:00
Alex Auvolat
4c1aee42d5
Reorganize table API
2020-04-09 16:16:27 +02:00
Alex Auvolat
a450103ed0
Work & TODO
2020-04-08 23:47:34 +02:00
Alex Auvolat
cc580da0ae
Some work
2020-04-08 23:01:49 +02:00
Alex Auvolat
bacc76a057
Some work in actually storing things
2020-04-08 22:00:41 +02:00