Browse Source
Rename `cleanup` module to `housekeeping`
upload-correct-windows-binary
Thomas Eizinger
3 years ago
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
3 changed files with
4 additions and
4 deletions
-
daemon/src/housekeeping.rs
-
daemon/src/maker.rs
-
daemon/src/taker.rs
|
|
@ -21,8 +21,8 @@ use xtra::spawn::TokioGlobalSpawnExt; |
|
|
|
mod actors; |
|
|
|
mod auth; |
|
|
|
mod bitmex_price_feed; |
|
|
|
mod cleanup; |
|
|
|
mod db; |
|
|
|
mod housekeeping; |
|
|
|
mod keypair; |
|
|
|
mod logger; |
|
|
|
mod maker_cfd; |
|
|
@ -151,7 +151,7 @@ async fn main() -> Result<()> { |
|
|
|
}; |
|
|
|
let mut conn = db.acquire().await.unwrap(); |
|
|
|
|
|
|
|
cleanup::transition_non_continue_cfds_to_setup_failed(&mut conn) |
|
|
|
housekeeping::transition_non_continue_cfds_to_setup_failed(&mut conn) |
|
|
|
.await |
|
|
|
.unwrap(); |
|
|
|
let cfds = load_all_cfds(&mut conn).await.unwrap(); |
|
|
|
|
|
@ -23,8 +23,8 @@ use xtra::Actor; |
|
|
|
|
|
|
|
mod actors; |
|
|
|
mod bitmex_price_feed; |
|
|
|
mod cleanup; |
|
|
|
mod db; |
|
|
|
mod housekeeping; |
|
|
|
mod keypair; |
|
|
|
mod logger; |
|
|
|
mod model; |
|
|
@ -153,7 +153,7 @@ async fn main() -> Result<()> { |
|
|
|
}; |
|
|
|
let mut conn = db.acquire().await.unwrap(); |
|
|
|
|
|
|
|
cleanup::transition_non_continue_cfds_to_setup_failed(&mut conn) |
|
|
|
housekeeping::transition_non_continue_cfds_to_setup_failed(&mut conn) |
|
|
|
.await |
|
|
|
.unwrap(); |
|
|
|
let cfds = load_all_cfds(&mut conn).await.unwrap(); |
|
|
|