Commit Graph

483 Commits

Author SHA1 Message Date
Kenneth Kehl
9cbe8c0cae fix schedule 2025-08-06 12:17:53 -07:00
Kenneth Kehl
5ce98a6e8e try again 2025-08-06 11:41:14 -07:00
Kenneth Kehl
d53e033d2a add task and command 2025-08-05 13:41:57 -07:00
Kenneth Kehl
8fa893895c cleanup 2025-07-10 14:29:46 -07:00
Kenneth Kehl
c81264f098 cleanup 2025-07-10 14:26:56 -07:00
Kenneth Kehl
2bfcd4a54d fix cronitor 2025-07-10 09:43:32 -07:00
Kenneth Kehl
256ab0f83c fix cronitor task name 2025-07-09 10:23:57 -07:00
Kenneth Kehl
5f0c72df1d change message limit 2025-06-06 09:18:07 -07:00
Carlo Costino
419d6cee69 Update the flask-socketio config to play more nicely:
* Reverts run commands to what they previously were
* Addresses some outstanding linting/formatting
* Accounts for proper config initialization (CORS, Redis)
* Updates dependencies and pulls in latest changes from main

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-04-16 17:43:10 -04:00
Kenneth Kehl
d051955d65 change total message limit to 100000 2025-01-23 08:01:51 -08:00
Kenneth Kehl
687819a213 Merge pull request #1528 from GSA/notify-api-1526
make sure we reuse boto3 clients and resources
2025-01-17 09:00:11 -08:00
Kenneth Kehl
0a7ccc58ea Merge pull request #1533 from GSA/notify-api-1531
Investigate bulk_save_objects for notification inserts
2025-01-15 09:47:00 -08:00
Kenneth Kehl
9846c19681 merge from main 2025-01-15 07:40:53 -08:00
Kenneth Kehl
874c8ffb54 try batch inserts 2025-01-10 07:58:24 -08:00
Kenneth Kehl
2770f76431 cleanup 2025-01-09 11:14:51 -08:00
Kenneth Kehl
6aae2c7aae fix db connection pool 2025-01-09 10:53:33 -08:00
Kenneth Kehl
5cedd6427d use singletons for s3 client 2025-01-09 07:47:47 -08:00
Kenneth Kehl
0d1a98914a cleanup pending notifications 2025-01-08 08:44:49 -08:00
Andrew Shumway
2b3c9c869e Change delivery receipts tasks time to help UI lag 2025-01-07 09:27:04 -07:00
Kenneth Kehl
c921ecae80 merge from main 2024-12-23 10:36:40 -08:00
Kenneth Kehl
6134530719 remove result_expires 2024-12-19 14:11:08 -08:00
Kenneth Kehl
cfe9b11cf6 remove tasks from redis after they complete 2024-12-18 14:09:22 -08:00
Kenneth Kehl
b588140952 change schedule to every 8 minutes 2024-12-16 11:22:49 -08:00
Kenneth Kehl
b28b547762 more 2024-12-13 17:30:00 -08:00
Kenneth Kehl
b784d33173 more work 2024-12-13 16:45:09 -08:00
Carlo Costino
a15d81ea14 Revert "12/11/2024 Production Deployment API hotfixes" 2024-12-12 09:11:59 -05:00
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