mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 08:02:40 +00:00
nits fix
This commit is contained in:
@@ -78,15 +78,12 @@ pub async fn reload_custom_tags_setting(db: &DB) -> error::Result<()> {
|
||||
|
||||
let custom_tags = process_custom_tags(tags);
|
||||
|
||||
{
|
||||
let l = CUSTOM_TAGS_PER_WORKSPACE.read().await;
|
||||
if l.clone() == custom_tags {
|
||||
tracing::info!("Custom tags setting unchanged, skipping update");
|
||||
return Ok(());
|
||||
} else {
|
||||
tracing::info!("Custom tags setting changed, updating");
|
||||
}
|
||||
}
|
||||
tracing::info!(
|
||||
"Loaded setting custom tags, common: {:?}, per-workspace: {:?}",
|
||||
custom_tags.0,
|
||||
custom_tags.1,
|
||||
);
|
||||
|
||||
{
|
||||
let mut l = CUSTOM_TAGS_PER_WORKSPACE.write().await;
|
||||
*l = custom_tags.clone()
|
||||
|
||||
@@ -562,8 +562,6 @@ pub async fn run_worker<R: rsmq_async::RsmqConnection + Send + Sync + Clone + 's
|
||||
#[cfg(feature = "enterprise")]
|
||||
let mut copy_cache_from_bucket_handle: Option<tokio::task::JoinHandle<()>> = None;
|
||||
|
||||
tracing::info!(worker = %worker_name, "starting worker");
|
||||
|
||||
#[cfg(feature = "enterprise")]
|
||||
let mut last_sync = Instant::now()
|
||||
+ Duration::from_secs(rand::thread_rng().gen_range(0..*GLOBAL_CACHE_INTERVAL));
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<span class="text-blue-400"
|
||||
>{uptodate} <Tooltip>
|
||||
How to update?<br />
|
||||
- docker: `docker compose up`<br />-
|
||||
- docker: `docker compose up -d`<br />-
|
||||
<a href="https://github.com/windmill-labs/windmill-helm-charts#install">helm</a>
|
||||
</Tooltip>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user