aboutsummaryrefslogtreecommitdiffstats
path: root/etc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Scheduler: adds optional support for redis and specifying redis clientfeature/scheduler_redis_cluster_supportjason2019-01-161-0/+1
| | | | | | | | | | | - allow optional support for running the scheduler without a redis backend for persistent schedule storage. The default is to exit on startup error. The user can set `redis_startup_error_hard_kill` to false if they really want to run the scheduler with no backend db. - allow users the ability to specify a redis client class. this will let them use redis-cluster if they wish. They can install the appropriate module and define `redis_client_class` (and if necessary class keyword arguments via `redis_client_class_kwargs`).
* Allow configuration options to be specified as environment variablesjason2018-07-171-1/+4
|
* Display EventMQ version on daemon startupjason2018-04-101-3/+3
|
* Add job setup and cleanup functionsjason2018-04-101-1/+14
| | | | | | | | | | | | | | | | | | | | | | | This adds 2 new config options: `job_entry_func` and `job_exit_func`. These functions are executed before and after every single job execution. The rationale behind this is before and after each request Django cleans up stale database connections, so Django jobs need some way of running this same setup/cleanup functions. https://github.com/django/django/blob/master/django/db/__init__.py#L57 ``` # Register an event to reset transaction state and close connections past # their lifetime. def close_old_connections(**kwargs): for conn in connections.all(): conn.close_if_unusable_or_obsolete() signals.request_started.connect(close_old_connections) signals.request_finished.connect(close_old_connections) ``` fixes: #41
* fix resp missing bug and andd pub defaults to eventmq.conf-distsideshowdave72017-01-111-2/+6
|
* Stub of emq-clijason2016-09-081-0/+3
| | | | - starts emq-cli and implements status for the router
* Rename eventmq.docker.conf to eventmq.conf-distjason2016-05-251-0/+0
|
* More work for named queuesjason2016-05-241-3/+10
| | | | | | | | | | | | | | | - Rename `WORKERS` setting to `CONCURRENT_JOBS` for more clarity. Added this setting to the command line options, the ini .conf & default settings conf.py files. - Added support for JSON style arrays in INI config. - Added support for weighted named queues. The style for the setting is [[weight, "name"], [weight, "name"]]. Configured in both the INI and command line for job manager. Added documentation. - Updated the spec for the INFORM message. Weights are sent with the queue names. If there are no weights specified they will be given the default value of 0. - updated Router.queues to a list from a deque so that it can be sorted by priority more easily.
* named queuesjason2016-04-291-1/+9
|
* add docker configurationssideshowdave72016-03-301-0/+5