style: 💄 fix linting issues
This commit is contained in:
parent
9625e32bbd
commit
173e96b5c5
@ -1,8 +1,6 @@
|
|||||||
use std::{convert::Infallible, fmt::Debug};
|
use std::{convert::Infallible, fmt::Debug};
|
||||||
|
|
||||||
use eyre::Result;
|
use {eyre::Result, rxrust::ops::box_it::CloneableBoxOpThreads, tonic::async_trait};
|
||||||
use rxrust::ops::box_it::CloneableBoxOpThreads;
|
|
||||||
use tonic::async_trait;
|
|
||||||
|
|
||||||
pub mod redis;
|
pub mod redis;
|
||||||
|
|
||||||
|
|||||||
@ -95,7 +95,7 @@ where
|
|||||||
info!("Starting rustlers");
|
info!("Starting rustlers");
|
||||||
let markets = self.market_svc.get_all_with_tickers().await?;
|
let markets = self.market_svc.get_all_with_tickers().await?;
|
||||||
|
|
||||||
if markets.len() > 0 {
|
if !markets.is_empty() {
|
||||||
let (sender, mut receiver) = tokio::sync::mpsc::channel(100);
|
let (sender, mut receiver) = tokio::sync::mpsc::channel(100);
|
||||||
|
|
||||||
for (market, tickers) in markets {
|
for (market, tickers) in markets {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user