-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beta bugs #562
Beta bugs #562
Conversation
.unwrap_or_else(|e| { | ||
// TODO: remove temporary logging in future update | ||
if !instance_folder.exists() { | ||
tracing::warn!( | ||
"Instance folder does not exist: {}", | ||
instance_folder.display() | ||
); | ||
return "".to_string(); | ||
} else { | ||
tracing::warn!( | ||
"Could not read existing instance.json at {}: {}", | ||
instance_folder.display(), | ||
e | ||
) | ||
}; | ||
"".to_string() | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this meant to be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant it to be included so that if the person in disc who's bug I couldn't replicate could have a log when they tried to import their profiles that should be importable.
That being said I do have a guess for what the issue was and fixed it, so I can revert this if you prefer
theseus/src/state/mod.rs
Outdated
@@ -345,27 +345,25 @@ pub async fn init_watcher() -> crate::Result<Debouncer<RecommendedWatcher>> { | |||
let (mut tx, mut rx) = channel(1); | |||
|
|||
let file_watcher = new_debouncer( | |||
Duration::from_secs_f32(2.0), | |||
Duration::from_secs_f32(10.0), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10 seconds is very long for the profile syning, mods will take forever to add. what was the reason for this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was trying to reduce cpu load on installs, (when many packs are imported one after another). Reverted as I don't think this is the biggest impact change I made
* Fixed an issue with colliding slugs when modifying a project * Update projects.rs --------- Co-authored-by: triphora <emma@modrinth.com>
Fixes #442 (doesnt entirely remove CPU usage- there are spikes- but drastically improves)
Fixes #467
Fixes #490
Fixes #492
Fixes #499
Fixes #502
Fixes #504 (as long as the options.txt override settings arent selected)
Fixes #506
Fixes #509
Fixes #512
Fixes #518
Fixes #524
Fixes #538
Fixes #519
Fixes #531
Fixes #553
Fixes #554