Explorer

html-ui.fly-scheduled

description
The Cron of the public definy server on fly.io: makes the tables (definy.ensure-seeded) and warms the snapshot cache. It no longer takes in the events of definy.narumincho.com (fly.io is the public server)
type
Fn(time_ms: Number) -> @definy.service-io
expression
fn(time_ms$0) =>
  @definy.ensure-seeded(
    then: fn(seeded$1) =>
      @definy.warm-snapshot-cache(
        limit: 20,
        then: fn(count$2) =>
          #done<@definy.service-io>(#respond({status: 200, headers: [], body: #empty<@definy.http-body>}))
      )
  )
visibility
public
html-ui.fly-scheduled (project html-ui, branch main, snapshot Daaw3vbJhY15cDW6JsA4JuXvffjj_qFyxoZQMUM8hvQ)
id: dj-d9oEhzMgKfqIx-XInBIr2ZPmh1Leke8J3keilljw
content hash: n9p5oQ0UCJniJRCyqcMz00DfpQ2iEgtHljrjsMZ_-PM