chore: delete the secrets when claiming the task so we don't store anything locally

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-01-19 17:18:30 +01:00
parent d19c88a9e4
commit 128a489ba0
@@ -139,6 +139,8 @@ export class DatabaseTaskStore implements TaskStore {
.update({
status: 'processing',
last_heartbeat_at: this.db.fn.now(),
// remove the secrets when moving moving to processing state
secrets: undefined,
});
if (updateCount < 1) {