Skip to content

Commit

Permalink
Builder|Web: Purge unstable builds after 4 weeks
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Nov 20, 2018
1 parent 08bc80a commit 5939d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapi/1/admin/bdb.php
Expand Up @@ -95,7 +95,7 @@ function remove_file($db, $file_id)

function purge_old_builds()
{
$expire_ts = time() - 60 * 24 * 60 * 60;
$expire_ts = time() - 4 * 7 * 24 * 60 * 60;

// If there is a small number of recent builds, don't purge at all.
$db = db_open();
Expand Down

0 comments on commit 5939d04

Please sign in to comment.