fix: enforce only one instance of the app
All checks were successful
FanslySync Build & Test / FanslySync Test Runner (push) Successful in 11m51s
All checks were successful
FanslySync Build & Test / FanslySync Test Runner (push) Successful in 11m51s
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
use crate::handlers::fansly::{SyncProgress, PROGRESS};
|
||||
use crate::{
|
||||
handlers::fansly::Fansly,
|
||||
structs::{FanslyAccountResponse, FanslyBaseResponse, SyncDataResponse},
|
||||
@ -5,7 +6,6 @@ use crate::{
|
||||
use lazy_static::lazy_static;
|
||||
use serde_json::Value;
|
||||
use tokio::sync::Mutex;
|
||||
use crate::handlers::fansly::{SyncProgress, PROGRESS};
|
||||
|
||||
lazy_static! {
|
||||
static ref FANSLY: Mutex<Fansly> = Mutex::new(Fansly::new(None));
|
||||
|
Reference in New Issue
Block a user