WIP: Routine Unresponsive due to Deadlock #51

Draft
modulatingforce wants to merge 10 commits from issue-routine-lock into routines-functionality
4 changed files with 1117 additions and 15 deletions
Showing only changes of commit 0625e7f091 - Show all commits

View file

@ -1,4 +1,7 @@
[build]
rustflags = ["--cfg", "tokio_unstable"]
[env]
# Based on https://doc.rust-lang.org/cargo/reference/config.html
OtherBots = "Supibot,buttsbot,PotatBotat,StreamElements,yuumeibot"

1122
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -7,7 +7,7 @@ edition = "2021"
[dependencies]
dotenv = "0.15.0"
tokio = { version = "1.33.0", features = ["full"] }
tokio = { version = "1.33.0", features = ["full", "tracing"] }
twitch-irc = "5.0.1"
rand = { version = "0.8.5", features = [] }
futures = "0.3"
@ -15,6 +15,8 @@ async-trait = "0.1.77"
async-recursion = "1.1.0"
casual_logger = "0.6.5"
chrono = "0.4.35"
tokio-console = "0.1.10"
console-subscriber = "0.2.0"
Review

@notohh & @mzntori - these two crates I added tokio-console and console-subscriber created very large changes in Cargo.lock . Do you see this as an issue?

I'm going to shrug it off cuz LULE I don't know - but this is really helpful

If you're not sure or you may need time to look, I'll just shrug this off for now and say let's add

More information on these crates:

@notohh & @mzntori - these two crates I added `tokio-console` and `console-subscriber` created very large changes in `Cargo.lock` . **Do you see this as an issue?** I'm going to shrug it off cuz LULE I don't know - but this is really helpful If you're not sure or you may need time to look, I'll just shrug this off for now and say let's add More information on these crates: - https://git.flake.sh/modulatingforce/forcebot_rs/pulls/51#issuecomment-973
[lib]

View file

@ -14,6 +14,9 @@ pub type BotAR = Arc<RwLock<BotInstance>>;
#[tokio::main]
pub async fn main() {
console_subscriber::init();
Log::set_file_ext(Extension::Log);
Log::set_level(Level::Trace);
Log::set_retention_days(2);