pyth2wormhole-client: Switch to multi-threaded tokio runtime
This commit is contained in:
parent
ef37c86b32
commit
660160b31a
|
@ -29,7 +29,7 @@ solana-sdk = "=1.10.31"
|
|||
solana-transaction-status = "=1.10.31"
|
||||
# solitaire-client = {path = "../../solitaire/client"}
|
||||
solitaire = {git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.8.9"}
|
||||
tokio = {version = "1", features = ["sync", "rt", "time"]}
|
||||
tokio = {version = "1", features = ["sync", "rt-multi-thread", "time"]}
|
||||
futures = "0.3.21"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -68,7 +68,7 @@ use pyth2wormhole_client::*;
|
|||
|
||||
pub const SEQNO_PREFIX: &'static str = "Program log: Sequence: ";
|
||||
|
||||
#[tokio::main]
|
||||
#[tokio::main(flavor = "multi_thread")]
|
||||
async fn main() -> Result<(), ErrBox> {
|
||||
let cli = Cli::parse();
|
||||
init_logging();
|
||||
|
|
Loading…
Reference in New Issue