Skip to content

Commit ac50f77

Browse files
committed
Auto merge of #607 - Mark-Simulacrum:opt, r=Mark-Simulacrum
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. (Will look at production performance to decide whether to keep or revert this change).
2 parents cea7923 + 450a596 commit ac50f77

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)