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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user