Beta 1
Pre-release
Pre-release
- 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 theJobStorage
object - Added informational dispatch log