HomePhabricator

Allow Drydock leases to expire after a time limit

Description

Allow Drydock leases to expire after a time limit

Summary: Ref T6569. If a lease is activated with an expiration date, schedule a task to try to clean it up after that time.

Test Plan:

  • Used bin/drydock lease ... --until ... to activate a lease in the near future.
  • Waited for a bit.
  • Saw it expire and get destroyed at the scheduled time.

Reviewers: hach-que, chad

Reviewed By: chad

Maniphest Tasks: T6569

Differential Revision: https://secure.phabricator.com/D14148

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Sep 23 2015, 8:54 PM
Reviewer
chad
Differential Revision
D14148: Allow Drydock leases to expire after a time limit
Parents
rPfcb6d1e2faa5: Strip some obsolete code out of Drydock
Branches
Unknown
Tags
Unknown
Tasks
T6569: Implement proper expiry mechanism for Drydock resources