module Mosquito

Included Modules

Defined in:

mosquito.cr
mosquito/base.cr
mosquito/exceptions.cr
mosquito/job.cr
mosquito/log.cr
mosquito/nil_job.cr
mosquito/periodic_job.cr
mosquito/periodic_task.cr
mosquito/queue.cr
mosquito/queued_job.cr
mosquito/redis.cr
mosquito/runner.cr
mosquito/scheduled_job.cr
mosquito/task.cr
mosquito/version.cr

Constant Summary

HABITAT_SETTINGS = [{decl: redis_url : String = Mosquito.default_redis_url, example: nil, validation: nil}] of Nil
Log = ::Log.for("mosquito")
VERSION = "0.9.0"

Class Method Summary

Instance Method Summary

Class Method Detail

def self.configure(&) #

[View source]
def self.default_redis_url #

The previous redis connection initialization method would:

  • init with the env var if present
  • otherwise init without a connection string, which means a default connection to localhost:6379

cf https://github.com/stefanwille/crystal-redis/blob/009e35fa40bbd518798afcc32c397402c6c6acb2/src/redis.cr#L95

Unfortunately, even after you've taken the appropriate action, this message will still show up if the environment variable exists.


[View source]
def self.settings #

[View source]
def self.validate_settings #

[View source]

Instance Method Detail

def settings #

[View source]