Package dev.dokimos.server.service
Class TraceRetentionSweeper
java.lang.Object
dev.dokimos.server.service.TraceRetentionSweeper
Periodically deletes traces whose retention window has closed. Spans and online eval jobs cascade away
via their foreign keys. The schedule mirrors the judge worker's
@Scheduled pattern, driven by
dokimos.trace.sweep-interval-ms.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TraceRetentionSweeper
-
-
Method Details
-
sweep
@Scheduled(fixedDelayString="${dokimos.trace.sweep-interval-ms:3600000}") @Transactional public void sweep()Deletes expired traces. The fixed delay is read fromdokimos.trace.sweep-interval-ms.
-