Skip to content

Commit

Permalink
double bep instead of circle of 5ths (#2085)
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-bonez authored Dec 23, 2022
1 parent 7809b6e commit dc2d6e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions backend/src/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use tokio::process::Command;
use crate::context::rpc::RpcContextConfig;
use crate::db::model::ServerStatus;
use crate::install::PKG_ARCHIVE_DIR;
use crate::sound::CIRCLE_OF_5THS_SHORT;
use crate::sound::{BEP, CIRCLE_OF_5THS_SHORT};
use crate::util::Invoke;
use crate::Error;

Expand Down Expand Up @@ -212,8 +212,9 @@ pub async fn init(cfg: &RpcContextConfig) -> Result<InitResult, Error> {
let song = if should_rebuild {
Some(NonDetachingJoinHandle::from(tokio::spawn(async {
loop {
CIRCLE_OF_5THS_SHORT.play().await.unwrap();
tokio::time::sleep(Duration::from_secs(10)).await;
BEP.play().await.unwrap();
BEP.play().await.unwrap();
tokio::time::sleep(Duration::from_secs(60)).await;
}
})))
} else {
Expand Down

0 comments on commit dc2d6e6

Please sign in to comment.