Skip to content

Beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@jdmcd jdmcd released this 25 Oct 12:11
e3b19f1
  • Update to Vapor Beta 1
  • You can now access the jobs worker via req.jobs
  • The new configuration setup looks like this:
let app = Application(environment: env)
app.provider(JobsProvider())
app.register(JobsDriver.self) { app in
    return TestDriver(on: app.make())
}
app.register(extension: JobsConfiguration.self) { jobs, app in
    jobs.add(FooJob())
}
return app
  • Added a new queuedAt property to the JobStorage object
  • Added informational dispatch log