lighthouse/beacon_node/eth2-libp2p/src
Pawan Dhananjay 042e80570c
Improve tokio task execution (#1181)
* Add logging on shutdown

* Replace tokio::spawn with handle.spawn

* Upgrade tokio

* Add a task executor

* Beacon chain tasks use task executor

* Validator client tasks use task executor

* Rename runtime_handle to executor

* Add duration histograms; minor fixes

* Cleanup

* Fix logs

* Fix tests

* Remove random file

* Get enr dependency instead of libp2p

* Address some review comments

* Libp2p takes a TaskExecutor

* Ugly fix libp2p tests

* Move TaskExecutor to own file

* Upgrade Dockerfile rust version

* Minor fixes

* Revert "Ugly fix libp2p tests"

This reverts commit 58d4bb690f52de28d893943b7504d2d0c6621429.

* Pretty fix libp2p tests

* Add spawn_without_exit; change Counter to Gauge

* Tidy

* Move log from RuntimeContext to TaskExecutor

* Fix errors

* Replace histogram with int_gauge for async tasks

* Fix todo

* Fix memory leak in test by exiting all spawned tasks at the end
2020-06-04 21:48:05 +10:00
..
behaviour Custom net behaviour (#1122) 2020-05-26 14:24:38 +10:00
discovery Allow discovery to be more lenient in enr eth2 fields (#1201) 2020-05-27 06:34:15 +10:00
peer_manager Client identification (#1158) 2020-05-18 21:35:14 +10:00
rpc Drive RPC streams to completion (#1219) 2020-05-29 12:04:08 +10:00
types Client identification (#1158) 2020-05-18 21:35:14 +10:00
config.rs Stable futures (#879) 2020-05-17 11:16:48 +00:00
lib.rs Stable futures (#879) 2020-05-17 11:16:48 +00:00
metrics.rs Fix block processing blowup, upgrade metrics (#500) 2019-08-19 21:02:34 +10:00
service.rs Improve tokio task execution (#1181) 2020-06-04 21:48:05 +10:00