Leo Hemsted
|
08494ef206
|
more flake8. lots of unused imports and variables that didn't get used. i tried to preserve old variable names as comments when it looked like they were useful (eg when they were describing timestamps)
|
2017-11-28 17:23:09 +00: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
|
0e9e8955f7
|
Finished celery refactor - set up config for queue prefix
LEO notes: Also made sure the Test BROKER_URL is preserved so that
tests warn you when celery isn't mocked out
|
2017-07-12 12:37:18 +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
|
1a61f06f53
|
Removed test as no longer make distinction on status.
|
2017-05-12 12:21:36 +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 |
|