fix: fix sqlx build

This commit is contained in:
Ruben Fiszel
2023-09-06 12:36:54 +02:00
parent 101ca902a0
commit 92c8146a57
3 changed files with 2 additions and 19 deletions
@@ -1,17 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO token\n (token, label, super_admin, email)\n VALUES ($1, $2, $3, $4)",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Varchar",
"Bool",
"Varchar"
]
},
"nullable": []
},
"hash": "15ef5759a2ccd7b7f9fd3f2ce0d54d01fe0a2c7e9692ac4ce29a86eb509e1a1d"
}
+1 -2
View File
@@ -214,8 +214,7 @@ func Run(req Req) (interface{{}}, error){{
create_args_and_out_file(client, job, job_dir).await?;
}
let mut reserved_variables = get_reserved_variables(job, &client.token, db).await?;
reserved_variables.insert("RUST_LOG".to_string(), "info".to_string());
let reserved_variables = get_reserved_variables(job, &client.token, db).await?;
let child = if !*DISABLE_NSJAIL {
let _ = write_file(
+1
View File
@@ -749,6 +749,7 @@ pub async fn run_worker<R: rsmq_async::RsmqConnection + Send + Sync + Clone + 's
}
}));
}
tracing::info!("Ended syncing cache sync part");
}
}
}