-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a39e45
commit ce01fa1
Showing
4 changed files
with
36 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5938b3f66b070ba3578aeeda89e6cc17c4cbda2d | ||
053cf0a539c64efbe8eee0e2a330b72114a43193 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
use std::sync::atomic::AtomicU32; | ||
use std::sync::Arc; | ||
|
||
use uuid::Uuid; | ||
use windmill_common::DB; | ||
|
||
use crate::job_logger::CompactLogs; | ||
|
||
#[cfg(all(feature = "enterprise", feature = "parquet"))] | ||
pub(crate) async fn s3_storage(_job_id: Uuid, _w_id: &String, _db: &sqlx::Pool<sqlx::Postgres>, _logs: &String, _total_size: &Arc<AtomicU32>, _worker_name: &String) { | ||
tracing::info!("Logs length of {job_id} has exceeded a threshold. Implementation to store excess on s3 in not OSS"); | ||
} | ||
|
||
pub(crate) async fn default_disk_log_storage( | ||
job_id: Uuid, | ||
_w_id: &str, | ||
_db: &DB, | ||
_nlogs: String, | ||
_total_size: Arc<AtomicU32>, | ||
_compact_kind: CompactLogs, | ||
_worker_name: &str, | ||
) { | ||
tracing::info!("Logs length of {job_id} has exceeded a threshold. Implementation to store excess on disk in not OSS"); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters