~homeworkprod/byceps

ref: 90357856fb25b54d9e60125d1b658be3514449ae byceps/worker.py -rwxr-xr-x 509 bytes
2c36ca1d — Jochen Kupperschmidt 7 months ago
Use `flask.Config.from_envvar`, remove `byceps.util.system.get_config_filename_from_env[_or_exit]`

The application config filename is now optional. If it is not specified,
the environment variable `BYCEPS_CONFIG` is expected to be set.
4a520d04 — Jochen Kupperschmidt 9 months ago
Do not pass custom name to worker

This can result in an exception due to a name clash in case a new worker
appears after a worker restart while the old one is still registered.
4523cd5c — Jochen Kupperschmidt 9 months ago
Enable job scheduler
54af394f — Jochen Kupperschmidt 9 months ago
Give name to worker
3d7b49f0 — Jochen Kupperschmidt 9 months ago
Update copyright notes for 2021
0b51dd42 — Jochen Kupperschmidt 11 months ago
Refer to license as "Revised BSD" to clarify that it is not customized

The common name "Modified BSD License" for the 3-clause BSD license can
be misleading as it might suggest it is a BSD license customized by the
project author.

To avoid this, refer to the license under one of its other names
instead.
428eab3e — Jochen Kupperschmidt 1 year, 9 months ago
Update copyright notes for 2020
27bd00e9 — Jochen Kupperschmidt 2 years ago
Pass app object to `get_queue`
a4a83017 — Jochen Kupperschmidt 2 years ago
Inline app creation and app context access into job queue worker script
1d33981d — Jochen Kupperschmidt 2 years ago
Update copyright notes for 2019
c1fa0abd — Jochen Kupperschmidt 3 years ago
Update copyright notes for 2018
7df634c2 — Jochen Kupperschmidt 4 years ago
Drop source code encoding lines as they already default to UTF-8 since Python 3.0
f884d542 — Jochen Kupperschmidt 4 years ago
Update copyright notes for 2017
721b4db4 — Jochen Kupperschmidt 4 years ago
Extract function to retrieve the configuration filename from the environment that exits if that fails
7b8797aa — Jochen Kupperschmidt 4 years ago
Fix imports
28960755 — Jochen Kupperschmidt 4 years ago
Require a configuration filename (with path) rather than just a config "environment" name to be specified via the `BYCEPS_CONFIG` environment variable

This affects:

- the application factory (`byceps/application_factory.py`)
- the management script (`manage.py`)
- the worker (`worker.py`)
- utility scripts (`scripts/*.py`)
4cc37916 — Jochen Kupperschmidt 5 years ago
Moved everything from `webapp/` one level up and removed the directory.