Commit Graph

1191 Commits

Author SHA1 Message Date
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
ba4301fc46 fix bug with created_at 2025-01-13 14:21:43 -08:00
Kenneth Kehl
4965bc2354 change countdown from 30 to 60 seconds for message sends to better match batch insert timing 2025-01-13 13:35:40 -08:00
Kenneth Kehl
eac21788a1 clean up 2025-01-13 13:21:34 -08:00
Kenneth Kehl
f4b8c040a3 more tests 2025-01-13 13:03:50 -08:00
Kenneth Kehl
510b84b96b more tests 2025-01-13 12:19:53 -08:00
Kenneth Kehl
f9641aee39 more tests 2025-01-13 11:00:42 -08:00
Kenneth Kehl
238ec27d4e more tests 2025-01-13 10:48:19 -08:00
Kenneth Kehl
a92eb91470 add a test 2025-01-13 10:00:18 -08:00
Kenneth Kehl
5f7089fea0 add countdown of 30 seconds for deliveries 2025-01-10 11:51:42 -08:00
Kenneth Kehl
64a61f5d36 cleanup redis commands and flow 2025-01-10 11:21:39 -08:00
Kenneth Kehl
874c8ffb54 try batch inserts 2025-01-10 07:58:24 -08:00
Kenneth Kehl
6aae2c7aae fix db connection pool 2025-01-09 10:53:33 -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
Carlo Costino
cde3a6bc28 Merge pull request #1506 from GSA/notify-api-1505
change time range for incomplete jobs
2024-12-30 11:07:49 -05:00
Kenneth Kehl
85a55dbaed change time range for incomplete jobs 2024-12-27 10:13:28 -08:00
Cliff Hill
e2413bac76 Flake8 fixes.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-12-27 12:21:43 -05:00
Cliff Hill
f1e8ff3328 Fixing IntegrityError problems, again.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-12-27 12:17:44 -05:00
Kenneth Kehl
1ff292380c Merge pull request #1502 from GSA/API-1466_Fix_database_inserts
API-1466 - Fixing database IntegrityError failures
2024-12-26 08:08:12 -08:00
Kenneth Kehl
0510c4df64 Merge pull request #1496 from GSA/notify-api-1495
introduce gaps in message sends
2024-12-26 08:07:42 -08:00
Cliff Hill
122195d010 flake8 stuff
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-12-26 08:52:51 -05:00
Cliff Hill
46ec1aafa8 Getting the IntegrityErrors to be OK if the data already exists in the
DB.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-12-26 08:52:51 -05:00
Kenneth Kehl
85c5268eae change to send 3 messages per second 2024-12-23 13:51:21 -08:00
Kenneth Kehl
c921ecae80 merge from main 2024-12-23 10:36:40 -08:00
Kenneth Kehl
4c5741a82e change timing a bit 2024-12-23 08:03:12 -08:00
Kenneth Kehl
1bac8a82a0 introduce gaps in message sends 2024-12-20 09:58:03 -08:00
Kenneth Kehl
9dc7cfeb2f code review feedback 2024-12-20 07:33:28 -08:00
Kenneth Kehl
cfe9b11cf6 remove tasks from redis after they complete 2024-12-18 14:09:22 -08:00
Kenneth Kehl
48c3cebc72 clean up 2024-12-18 07:44:24 -08:00
Kenneth Kehl
7cf747d35a go back to filter log events 2024-12-17 15:59:30 -08:00
Kenneth Kehl
6316e266ee fix batch processing 2024-12-16 14:33:50 -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
Kenneth Kehl
7529ae0153 more 2024-12-13 15:04:18 -08:00
Kenneth Kehl
56ebed5445 switch to log insights for delivery receipts 2024-12-13 14:40:37 -08:00
Kenneth Kehl
f706086bbf cleanup 2024-12-13 09:48:48 -08:00
Kenneth Kehl
26e53a80ba avoid message is none scenario 2024-12-13 08:43:23 -08:00
Kenneth Kehl
5ce31c78fd start writing message ids to the notifications table 2024-12-13 07:30:41 -08:00
Kenneth Kehl
6bc329006e change retries 2024-12-12 11:49:51 -08:00
Carlo Costino
a15d81ea14 Revert "12/11/2024 Production Deployment API hotfixes" 2024-12-12 09:11:59 -05:00
Kenneth Kehl
50aeb0ab0f try to bypass static scan false positive 2024-12-10 08:53:38 -08:00
Kenneth Kehl
06725af417 try to bypass static scan false positive 2024-12-10 08:49:07 -08:00
Kenneth Kehl
dc8660191c change retry schedule 2024-12-10 08:04:55 -08:00
Kenneth Kehl
665de72059 add expire times for redis objects 2024-12-04 07:37:59 -08:00
Kenneth Kehl
9b1eb70bbe try to fix tests 2024-12-03 14:05:25 -08:00
Kenneth Kehl
14e4d761fc try to fix tests 2024-12-03 13:50:42 -08:00
Carlo Costino
fe033b0d7b Merge pull request #1443 from GSA/notify-api-1442
fix broken go live email notification
2024-12-02 16:50:06 -05:00
Kenneth Kehl
6124fbc6a4 fix logic 2024-12-02 12:15:32 -08:00
Kenneth Kehl
791d18b4ec fix logic 2024-12-02 11:48:26 -08:00