From dc2d6e60d80e8adcd564f1d04b5db47cc8b6fca0 Mon Sep 17 00:00:00 2001 From: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> Date: Fri, 23 Dec 2022 10:55:44 -0800 Subject: [PATCH] double bep instead of circle of 5ths (#2085) --- backend/src/init.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/src/init.rs b/backend/src/init.rs index f6183b6af..c81594831 100644 --- a/backend/src/init.rs +++ b/backend/src/init.rs @@ -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; @@ -212,8 +212,9 @@ pub async fn init(cfg: &RpcContextConfig) -> Result { 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 {