diff --git a/src/cron/daemon/daemon.v b/src/cron/daemon/daemon.v index ffa2f6e..35cca5f 100644 --- a/src/cron/daemon/daemon.v +++ b/src/cron/daemon/daemon.v @@ -9,7 +9,6 @@ import math import build import docker import db -import os const ( // How many seconds to wait before retrying to update API if failed @@ -20,6 +19,7 @@ const ( struct ScheduledBuild { pub: + repo_id string repo db.GitRepo timestamp time.Time } @@ -187,10 +187,6 @@ fn (mut d Daemon) renew_repos() { return } - // Filter out any repos that shouldn't run on this architecture - cur_arch := os.uname().machine - new_repos = new_repos.filter(it.arch.any(it.value == cur_arch)) - d.repos = new_repos d.api_update_timestamp = time.now().add_seconds(60 * d.api_update_frequency)