Commit Graph

457 Commits

Author SHA1 Message Date
Kenneth Kehl
fede173a3e change worker_max_tasks_per_child to 2000 2024-12-10 10:39:26 -08:00
Kenneth Kehl
8624776a47 add expire times for redis objects 2024-12-04 09:20:38 -08:00
Kenneth Kehl
665de72059 add expire times for redis objects 2024-12-04 07:37:59 -08:00
Kenneth Kehl
c8f2f7c044 Change max tasks per celery worker to 500 2024-11-25 07:49:04 -08:00
Kenneth Kehl
0ecd835c91 adjust worker lifetime 2024-11-15 09:52:07 -08:00
Kenneth Kehl
bb435e33ac kill workers after 20 tasks 2024-11-12 09:41:20 -08:00
Kenneth Kehl
096e3a367d clean up 2024-09-26 15:17:57 -07:00
Kenneth Kehl
8aae0d59b4 use shared memory instead of expiring dict for jobs cache 2024-09-26 11:56:39 -07:00
Kenneth Kehl
564ae06383 fix schedule 2024-09-11 08:50:29 -07:00
Kenneth Kehl
fefdd297ea initial 2024-09-06 11:13:13 -07:00
Beverly Nguyen
c897b2d71f update page_size to 20 from 50 2024-08-19 14:25:51 -07:00
Cliff Hill
7a3a216444 Merge pull request #1248 from GSA/notify-apy-283
Need to remove priority logic
2024-08-16 12:36:55 -04:00
Kenneth Kehl
b9eec69423 add retry with backoff 2024-08-13 14:51:51 -07:00
Kenneth Kehl
2e7e6e81fc Need to remove priority logic 2024-08-09 09:11:28 -07:00
Kenneth Kehl
4d24b8257e clean up 2024-07-19 15:02:54 -07:00
Kenneth Kehl
875d378b3d fix ExpiringDict caching solution 2024-07-19 13:58:23 -07:00
Carlo Costino
99edc88197 Localize notification_utils to the API
This changeset pulls in all of the notification_utils code directly into the API and removes it as an external dependency.  We are doing this to cut down on operational maintenance of the project and will begin removing parts of it no longer needed for the API.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-05-16 10:17:45 -04:00
Kenneth Kehl
9ec75c57c8 remove check-db-notification-fails task from schedule 2024-04-18 08:49:14 -07:00
Kenneth Kehl
0e9b128d96 remove template preview api stuff 2024-04-03 13:36:59 -07:00
Kenneth Kehl
a028be238b notify-api-784 remove simulated numbers 2024-02-01 10:48:59 -08:00
Carlo Costino
6332399b5b Really make sure Redis is enabled
This changeset should cover the rest of the missing pieces to make sure Redis connectivity is truly established in the API app.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-11 12:05:07 -05:00
Beverly Nguyen
bf11d77775 change from_number 2023-12-12 15:55:45 -08:00
Kenneth Kehl
7d582563fd fix crontab 2023-11-29 09:08:07 -08:00
Kenneth Kehl
4a44171795 fix email 2023-11-29 08:14:28 -08:00
Kenneth Kehl
d710cdefd6 notify-api-634 2023-11-28 12:30:53 -08:00
Cliff Hill
3e6a7931d8 Working on getting expiration implemented.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-11-13 16:00:11 -05:00
stvnrlly
bf33ed7173 Merge branch 'main' into notify-300b 2023-08-31 10:28:44 -04:00
Kenneth Kehl
1ecb747c6d reformat 2023-08-29 14:54:30 -07:00
Kenneth Kehl
5a350560d7 notify-api-433b remove research mode 2023-08-25 12:09:00 -07:00
Kenneth Kehl
721e572796 notify-api-427 bug with worker failures 2023-08-18 07:50:48 -07:00
Kenneth Kehl
4940d5e93b notify-api-332 rename organisation 2023-07-10 11:06:29 -07:00
Kenneth Kehl
655cc91b50 merge from main 2023-07-06 13:45:53 -07:00
Kenneth Kehl
96fc7a32dd Examine and re-align jobs that run based on UTC time 2023-07-05 13:15:44 -07:00
Kenneth Kehl
3f8196164e notify-512: get daily message limit from notification_utils 2023-06-19 11:05:09 -07:00
Kenneth Kehl
6f6061455c notify-162 delete incomplete s3 uploads (#276)
Co-authored-by: Kenneth Kehl <@kkehl@flexion.us>
2023-05-23 11:31:30 -04:00
Kenneth Kehl
48ce584773 merge from main 2023-05-11 07:16:25 -07:00
Kenneth Kehl
3fb113a83e notify-152 sms delivery receipts 2023-05-04 07:56:24 -07:00
Kenneth Kehl
0dce30bf5e cleanup 2023-05-01 13:41:48 -07:00
Kenneth Kehl
9de806000a notify-300 set total message limit of 250k 2023-04-28 12:37:06 -07:00
Ryan Ahearn
b3d33ba4aa Update utils to get logging improvements 2023-04-26 10:45:09 -04:00
Kenneth Kehl
001954538e notify-243 remove statsd 2023-04-25 07:50:56 -07:00
Ryan Ahearn
e07b596857 Remove contact list db, dao, and s3 code 2023-04-12 15:01:24 -04:00
Ryan Ahearn
5f56186859 Merge pull request #197 from GSA/dev-infra-setup
Add scripts for provisioning development credentials
2023-03-15 16:40:40 -04:00
Steven Reilly
8d87b6ec09 Add a total-message daily limit (#195) 2023-03-14 16:28:38 -04:00
Ryan Ahearn
84e7e9b5cf Use credentials output by terraform/development 2023-03-13 13:44:10 -04:00
Ryan Ahearn
c58a151e65 Merge branch 'main' into use-sns-service
* main:
  Remove letters-related code (#175)
2023-03-03 08:53:32 -05:00
Steven Reilly
ff4190a8eb Remove letters-related code (#175)
This deletes a big ol' chunk of code related to letters. It's not everything—there are still a few things that might be tied to sms/email—but it's the the heart of letters function. SMS and email function should be untouched by this.

Areas affected:

- Things obviously about letters
- PDF tasks, used for precompiling letters
- Virus scanning, used for those PDFs
- FTP, used to send letters to the printer
- Postage stuff
2023-03-02 20:20:31 -05:00
Ryan Ahearn
dd0c7ebd56 Update sms sender numbers in db 2023-03-01 13:46:08 -05:00
Ryan Ahearn
28f8649444 Use sns credentials from VCAP_SERVICES 2023-02-28 16:50:00 -05:00
Ryan Ahearn
496bf80c77 Merge pull request #174 from GSA/ses-brokerpak
Provision SES via brokerpak
2023-02-06 11:28:23 -05:00