mirror of
https://github.com/perstarkse/minne.git
synced 2026-06-30 10:01:40 +02:00
release: 1.0.3
fix: load ort-version via bash script on all release runners, toolchain harmonization
This commit is contained in:
@@ -9,7 +9,7 @@ use tracing::{debug, info, warn};
|
||||
use crate::{error::AppError, storage::db::SurrealDbClient};
|
||||
|
||||
const INDEX_POLL_INTERVAL: Duration = Duration::from_millis(50);
|
||||
const INDEX_BUILD_TIMEOUT: Duration = Duration::from_mins(30);
|
||||
const INDEX_BUILD_TIMEOUT: Duration = Duration::from_secs(30 * 60);
|
||||
const FTS_ANALYZER_NAME: &str = "app_en_fts_analyzer";
|
||||
|
||||
/// HNSW index options used by runtime index creation (includes CONCURRENTLY).
|
||||
|
||||
@@ -750,7 +750,7 @@ mod tests {
|
||||
|
||||
let worker_id = "worker-1";
|
||||
let now = chrono::Utc::now();
|
||||
let claimed = IngestionTask::claim_next_ready(&db, worker_id, now, Duration::from_mins(1))
|
||||
let claimed = IngestionTask::claim_next_ready(&db, worker_id, now, Duration::from_secs(60))
|
||||
.await
|
||||
.with_context(|| "claim".to_string())?
|
||||
.with_context(|| "task claimed".to_string())?;
|
||||
@@ -786,7 +786,7 @@ mod tests {
|
||||
|
||||
let worker_id = "worker-dead";
|
||||
let now = chrono::Utc::now();
|
||||
let claimed = IngestionTask::claim_next_ready(&db, worker_id, now, Duration::from_mins(1))
|
||||
let claimed = IngestionTask::claim_next_ready(&db, worker_id, now, Duration::from_secs(60))
|
||||
.await
|
||||
.with_context(|| "claim".to_string())?
|
||||
.with_context(|| "claimed".to_string())?;
|
||||
|
||||
@@ -19,6 +19,7 @@ pub enum TemplateEngine {
|
||||
Embedded(Arc<Environment<'static>>),
|
||||
}
|
||||
|
||||
#[allow(clippy::module_name_repetitions)]
|
||||
#[macro_export]
|
||||
macro_rules! create_template_engine {
|
||||
// Single path argument
|
||||
|
||||
Reference in New Issue
Block a user