Skip to content

faster auto update images #597

Description

@Evanfeenstra

Keep the 24-hour configurable auto-update that we have now.

But add a new cron also (every 15 minutes). Hardcoded it only for stakgraph and repo2graph right now, since they both have the GET /busy endpoint. No need to add this as a config value in the swarm config

  1. pull latest image. If there was a new image
  2. GET /busy (returns {busy: boolean}) from the image itself
  3. if busy: false then update the image
  4. if busy: true then simply skip and wait for the next one in 15 minutes

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions