mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 00:47:53 +00:00
thread refactor
This commit is contained in:
1 parent
844db3f6a8
commit
480a2dc216
8 files changed
+9
-7
No files matched your search
@@ -18,7 +18,7 @@ pub mod util;
|
||||
|
||||
use config::shared_constants::{DEFAULT_RUST_LOG, DEFAULT_REDIS_DATABASE_1_CONNECTION_STRING, DEFAULT_MYSQL_CONNECTION_STRING};
|
||||
use container_common::anyhow_result::AnyhowResult;
|
||||
use crate::threads::listen_for_active_obs_sessions_thread::ListenForActiveObsSessionThread;
|
||||
use crate::threads::listen_for_active_obs_sessions::listen_for_active_obs_sessions_thread::ListenForActiveObsSessionThread;
|
||||
use crate::twitch::oauth::oauth_token_refresher::OauthTokenRefresher;
|
||||
use crate::twitch::websocket_client::TwitchWebsocketClient;
|
||||
use futures::executor::{ThreadPool, ThreadPoolBuilder};
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
use container_common::thread::thread_id::ThreadId;
|
||||
use crate::threads::twitch_pubsub_user_subscriber_thread::TwitchPubsubUserSubscriberThread;
|
||||
use crate::threads::twitch_pubsub_user_subscriber::twitch_pubsub_user_subscriber_thread::TwitchPubsubUserSubscriberThread;
|
||||
use crate::twitch::oauth::oauth_token_refresher::OauthTokenRefresher;
|
||||
use log::error;
|
||||
use log::info;
|
||||
+1
@@ -0,0 +1 @@
|
||||
pub mod listen_for_active_obs_sessions_thread;
|
||||
@@ -1,3 +1,2 @@
|
||||
pub mod listen_for_active_obs_sessions_thread;
|
||||
pub mod thread_state;
|
||||
pub mod twitch_pubsub_user_subscriber_thread;
|
||||
pub mod listen_for_active_obs_sessions;
|
||||
pub mod twitch_pubsub_user_subscriber;
|
||||
@@ -1 +0,0 @@
|
||||
pub mod twitch_pubsub_subscriber_state;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
pub mod subscriber_preferences_cache;
|
||||
pub mod twitch_pubsub_user_subscriber_thread;
|
||||
File renamed without changes.
+2
-1
@@ -1,7 +1,8 @@
|
||||
use anyhow::{anyhow, Error};
|
||||
use container_common::anyhow_result::AnyhowResult;
|
||||
use container_common::thread::thread_id::ThreadId;
|
||||
use crate::threads::thread_state::twitch_pubsub_subscriber_state::{TwitchEventRuleLight, TwitchPubsubCachedState};
|
||||
use crate::threads::twitch_pubsub_user_subscriber::subscriber_preferences_cache::TwitchEventRuleLight;
|
||||
use crate::threads::twitch_pubsub_user_subscriber::subscriber_preferences_cache::TwitchPubsubCachedState;
|
||||
use crate::twitch::constants::TWITCH_PING_CADENCE;
|
||||
use crate::twitch::oauth::oauth_token_refresher::OauthTokenRefresher;
|
||||
use crate::twitch::pubsub::build_pubsub_topics_for_user::build_pubsub_topics_for_user;
|
||||
Reference in new issue
Block a user