Commit Graph

12401 Commits

Author SHA1 Message Date
Cliff Hill
467357c031 Getting total notifications per day made.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 16:21:15 -05:00
Kenneth Kehl
833146e424 fix tests 2025-01-10 13:15:42 -08:00
Cliff Hill
b543db474f Moving where the pending calculation is done.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 16:07:49 -05:00
Cliff Hill
9219049150 Cleaning up function a bit.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 15:08:44 -05:00
Kenneth Kehl
1fbe427786 revert behavior for emails, only sms needs optimization 2025-01-10 12:03:00 -08:00
Kenneth Kehl
5f7089fea0 add countdown of 30 seconds for deliveries 2025-01-10 11:51:42 -08:00
Cliff Hill
162823e59b Query fixing.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 14:46:59 -05:00
Cliff Hill
bc80841212 Changing the queries again.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 14:29:46 -05:00
Kenneth Kehl
64a61f5d36 cleanup redis commands and flow 2025-01-10 11:21:39 -08:00
Cliff Hill
ef61069101 black cleanup.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 13:55:01 -05:00
Cliff Hill
f1cc6aa400 estructuring how to get total_notifications.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-10 13:47:43 -05:00
Beverly Nguyen
b6337ad807 updating pending count 2025-01-10 10:28:28 -08:00
Kenneth Kehl
bbf5bace20 add lpop and rpush to notify redis 2025-01-10 08:05:51 -08:00
Kenneth Kehl
874c8ffb54 try batch inserts 2025-01-10 07:58:24 -08:00
Kenneth Kehl
16bba7e4c4 cleanup 2025-01-09 11:28:24 -08:00
Kenneth Kehl
7e7d43238f cleanup 2025-01-09 11:16:53 -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
Cliff Hill
8656c44757 Make sure join is correct table.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-09 13:02:21 -05:00
Kenneth Kehl
4293da640a Merge pull request #1522 from GSA/notify-api-1520
cleanup pending notifications
2025-01-09 08:35:39 -08:00
Kenneth Kehl
fbd8643e74 fix tests 2025-01-09 08:33:42 -08:00
Kenneth Kehl
a527218638 fix tests 2025-01-09 08:07:20 -08:00
Kenneth Kehl
5cedd6427d use singletons for s3 client 2025-01-09 07:47:47 -08:00
Cliff Hill
37fa1187ac Adding group by clause to outer query for function.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-09 08:29:36 -05:00
Cliff Hill
05055aa60a Updated query
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2025-01-08 15:41:26 -05:00
Kenneth Kehl
da19e7c81c set prefetch multiplier to 2 and increase concurrency to 15 2025-01-08 11:12:08 -08:00
Kenneth Kehl
a2fc97000b cleanup pending notifications 2025-01-08 08:58:24 -08:00
Kenneth Kehl
0d1a98914a cleanup pending notifications 2025-01-08 08:44:49 -08:00
Beverly Nguyen
1f62b99433 Merge branch 'main' into 2199-add-pending-message-data-to-daily-and-user_daily-stats 2025-01-07 15:28:15 -08:00
Carlo Costino
31198824cd Merge pull request #1519 from GSA/update-daily-check-action
Update daily_check GitHub Action
2025-01-07 16:21:29 -05:00
Carlo Costino
1c67478d5e Update daily_check GitHub Action
This changeset updates the reference of the upload_artifacts action from GitHub to be v4 instead of v3. v3 is being deprecated at the end of January 2025.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2025-01-07 15:27:05 -05:00
Kenneth Kehl
f466cf2ce2 Merge pull request #1511 from GSA/notify-api-1494
Evaluate Batch Updates versus Bulk Updates
2025-01-07 11:49:13 -08:00
Carlo Costino
7fe2ec239b Merge pull request #1518 from GSA/ui-lag-improvements
Change delivery receipts tasks time to help UI lag
2025-01-07 12:46:54 -05:00
Kenneth Kehl
c65335ab66 Merge pull request #1514 from GSA/notify-api-1513
the way we set the sender phone number is very questionable
2025-01-07 09:33:46 -08:00
Carlo Costino
9e4e95753b Merge pull request #1437 from GSA/notify-api-1432
change celery pool support from prefork to threads
2025-01-07 11:32:39 -05:00
Andrew Shumway
2b3c9c869e Change delivery receipts tasks time to help UI lag 2025-01-07 09:27:04 -07:00
Kenneth Kehl
c8a8dafe56 merge from main 2025-01-07 07:50:41 -08:00
Kenneth Kehl
ef57a106c0 merge from main 2025-01-07 07:40:26 -08:00
Kenneth Kehl
99d9db213d fix native enum 2025-01-07 07:13:32 -08:00
Kenneth Kehl
8cc6b07a98 merge from main 2025-01-07 07:10:14 -08:00
Kenneth Kehl
343603cf73 merge from main 2025-01-07 06:50:45 -08:00
Carlo Costino
fbbb7aa49f Merge pull request #1512 from GSA/fix_az
fix BOM issue again
2025-01-06 16:59:06 -05:00
Kenneth Kehl
7fab332ab9 fix isort 2025-01-06 13:50:10 -08:00
Kenneth Kehl
879ed2da0a ugh specify rev 2025-01-06 13:47:11 -08:00
Kenneth Kehl
64e0354f01 try oscrypto 1.3.1 2025-01-06 13:35:32 -08:00
Kenneth Kehl
7088f3b976 try oscrypto 1.3.1 2025-01-06 13:29:44 -08:00
Kenneth Kehl
e5e5959db4 try oscrypto 1.3.1 2025-01-06 13:27:54 -08:00
Kenneth Kehl
803a29333d try oscrypto 1.3.1 2025-01-06 13:25:13 -08:00
Kenneth Kehl
7b5c840107 code review feedback 2025-01-06 13:10:13 -08:00
Kenneth Kehl
628c6eb848 do minimalistic fix first 2025-01-06 11:45:31 -08:00