Richard Chapman
|
cc4d022213
|
Adding extra logging to celery tasks ans gunicorn, specifically log on SIGTERM and SIGINIT so that we can track better when an app restarts and why it restarts e.g. when it restarts after another signal.
|
2017-10-12 11:39:21 +01:00 |
|
Leo Hemsted
|
6c61a3fc2a
|
Revert celery4
Revert the following three pull requests:
https://github.com/alphagov/notifications-api/pull/1085
https://github.com/alphagov/notifications-api/pull/1086
https://github.com/alphagov/notifications-api/pull/1088
celery 4.0.2 looked promising, however, on staging under mild load
(5/sec api calls) the performance was actually worse than 3.1.25
|
2017-07-19 15:17:19 +01:00 |
|
Martyn Inglis
|
786adb5d71
|
Move Queuenames in with the celery code, revamp config to allow move to celery 4.x
|
2017-07-12 12:01:52 +01:00 |
|
Martyn Inglis
|
2591d3a1df
|
This massive set of changes uses the new queue names object throughout the app and tests.
Lots of changes, all changing the line of code that puts things into queues, and the code that tests that.
|
2017-05-25 10:51:49 +01:00 |
|
Martyn Inglis
|
eb07fce3ee
|
Renamed method.
|
2017-05-12 12:19:56 +01:00 |
|
Martyn Inglis
|
76494a285e
|
New logic to:
- increment sent only if the notifications is in a NON-finished state
- Increment outcome only if notification is in a finished state
|
2017-05-11 12:10:46 +01:00 |
|
Martyn Inglis
|
a4549a2e26
|
Put the statistics tasks into a new queue. This currently has no worker in PaaS so blocks the deployment until new PaaS worker is configured.
|
2017-05-09 22:03:13 +01:00 |
|
Martyn Inglis
|
f2a47044a4
|
Add a wrapper method around calling the tasks to manage when to call stats tasks
|
2017-05-09 18:17:26 +01:00 |
|
Martyn Inglis
|
b4bf332ea0
|
Added in tasks for created initial job stats and for updating following an outcome.
|
2017-05-09 15:24:05 +01:00 |
|
Martyn Inglis
|
2cbf8d29fd
|
Removed white space for pep8
|
2017-05-09 14:46:15 +01:00 |
|
Martyn Inglis
|
b669c4930a
|
Building the methods around async stats work
|
2017-05-09 12:30:31 +01:00 |
|