Skip to content

Commit 450a596

Browse files
Store logs uncompressed in db
This will mean that the database grows faster -- and we do more disk I/O -- but currently at least disk is likely easier for us to grow than the single thread handling of incoming results.
1 parent cea7923 commit 450a596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/routes/agent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ fn endpoint_record_progress(
168168
.record_completed_jobs(&auth.name, &ex.name, result.data.results.len() as i64);
169169

170170
let db = DatabaseDB::new(&data.db);
171-
db.store(&ex, &result.data, EncodingType::Gzip)?;
171+
db.store(&ex, &result.data, EncodingType::Plain)?;
172172

173173
let ret = Ok(ApiResponse::Success { result: true }.into_response()?);
174174
data.metrics

0 commit comments

Comments
 (0)