Commit Graph

445 Commits

Author SHA1 Message Date
Kenneth Kehl
2d2a54bda6 change the redis limit tracker to annual 2025-01-23 10:12:17 -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
5f7089fea0 add countdown of 30 seconds for deliveries 2025-01-10 11:51:42 -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
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
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
cfe9b11cf6 remove tasks from redis after they complete 2024-12-18 14:09:22 -08:00
Kenneth Kehl
6bc329006e change retries 2024-12-12 11:49:51 -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
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
Kenneth Kehl
8aae0d59b4 use shared memory instead of expiring dict for jobs cache 2024-09-26 11:56:39 -07:00
Kenneth Kehl
64a85868a3 code review feedback and merge from main 2024-09-11 09:39:18 -07:00
Kenneth Kehl
fefdd297ea initial 2024-09-06 11:13:13 -07:00
Kenneth Kehl
c0ab7c8a68 more exc_info 2024-08-15 11:07:36 -07:00
Kenneth Kehl
146f0cc787 initial 2024-08-15 10:31:02 -07:00
Kenneth Kehl
aa63003937 cleanup 2024-07-22 07:21:03 -07:00
Kenneth Kehl
875d378b3d fix ExpiringDict caching solution 2024-07-19 13:58:23 -07:00
Kenneth Kehl
d7279c7c38 revamp PII masking 2024-06-17 11:12:30 -07:00
Kenneth Kehl
76c34ffae6 Need magic PII-free debugging method for API 2024-06-11 10:34:57 -07:00
Kenneth Kehl
6081ff4873 merge from main 2024-06-06 13:18:00 -07:00
Kenneth Kehl
feb8a1bfaf merge from main 2024-06-06 13:12:37 -07:00
Kenneth Kehl
920d2c4539 debug for notify-admin-1588 2024-06-05 12:42:35 -07:00
Kenneth Kehl
db68583cf9 merge from main 2024-06-04 08:20:01 -07:00
Kenneth Kehl
22ffc56520 remove v2 2024-05-30 12:27:07 -07:00
Kenneth Kehl
905df17f65 remove datetime.utcnow() 2024-05-23 13:59:51 -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
Andrew Shumway
1547e80e37 Fix spacing 2024-03-28 09:35:53 -06:00
Andrew Shumway
d3b895ddc6 PEP-257 changes 2024-03-27 10:32:40 -06:00
Andrew Shumway
6599c284cc Add docs/code comments for message-send-flow 2024-03-18 11:45:40 -06:00
Andrew Shumway
5f2508a975 Add docs/code comments for message send flow 2024-03-18 11:32:29 -06:00
Cliff Hill
9523cc1d97 Cleaning up with black, isort, flake8.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:33 -05:00
Cliff Hill
7416de2a28 KeyType implemented.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:33 -05:00
Cliff Hill
db3761609b Job Status changed.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:33 -05:00
Cliff Hill
3982f061b6 Made enums.py for all the enums to avoid cyclic imports.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:43:31 -05:00
Cliff Hill
820ee5a942 Cleaning up a lot of things, getting Enums used everywhere.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-02-28 12:40:52 -05:00
Kenneth Kehl
2928cd8dac merge from main 2023-09-22 08:22:20 -07:00
Kenneth Kehl
141deb3880 notify-admin-768 initial 2023-09-21 13:50:36 -07:00
stvnrlly
7bbb05059c update to correct error 2023-08-31 10:57:54 -04: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
cbed8b8104 retry 2023-07-12 14:52:40 -07:00