-
Notifications
You must be signed in to change notification settings - Fork 659
update deps versions #5703
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
update deps versions #5703
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
d63c5908cb19c9beb670e91d6792817ea636f052 | ||
868ccad87afb804fe22818ecd3d5a091199bcdbf |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -30,7 +30,7 @@ use windmill_api::{ | |||||
|
||||||
#[cfg(feature = "enterprise")] | ||||||
use windmill_common::ee::{jobs_waiting_alerts, worker_groups_alerts}; | ||||||
|
||||||
#[cfg(feature = "enterprise")] | ||||||
use windmill_common::ee::low_disk_alerts; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The imports for enterprise features use a
Suggested change
|
||||||
|
||||||
#[cfg(feature = "oauth2")] | ||||||
|
@@ -1356,7 +1356,7 @@ pub async fn monitor_db( | |||||
conn: &Connection, | ||||||
base_internal_url: &str, | ||||||
server_mode: bool, | ||||||
worker_mode: bool, | ||||||
_worker_mode: bool, | ||||||
initial_load: bool, | ||||||
_killpill_tx: KillpillSender, | ||||||
) { | ||||||
|
@@ -1416,15 +1416,20 @@ pub async fn monitor_db( | |||||
}; | ||||||
|
||||||
let low_disk_alerts_f = async { | ||||||
#[cfg(feature = "enterprise")] | ||||||
if let Some(db) = conn.as_sql() { | ||||||
low_disk_alerts( | ||||||
&db, | ||||||
server_mode, | ||||||
worker_mode, | ||||||
_worker_mode, | ||||||
WORKERS_NAMES.read().await.clone(), | ||||||
) | ||||||
.await; | ||||||
} | ||||||
#[cfg(not(feature = "enterprise"))] | ||||||
{ | ||||||
() | ||||||
} | ||||||
}; | ||||||
|
||||||
let apply_autoscaling_f = async { | ||||||
|
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.
Consider merging the two
#[cfg(feature = "enterprise")]
imports into a single statement for clarity.