buildApp method
Builds a Redis-backed GisilaQueue from the parsed flags. Only the broker is actually used by Beat (it just enqueues); a backend is included anyway so any tasks defined on the same app can be sent synchronously for testing without a separate producer process.
Implementation
GisilaQueue buildApp() => GisilaQueue(
broker: RedisBroker(
host: redisHost,
port: redisPort,
options: redisOptions,
prefix: prefix),
backend: RedisResultBackend(
host: redisHost,
port: redisPort,
options: redisOptions,
prefix: prefix),
logger: ConsoleQueueLogger(minLevel: logLevel),
);