Commit Graph

455 Commits

Author SHA1 Message Date
Kenneth Kehl
d0092d4bf6 fix 2025-07-29 10:33:29 -07:00
Kenneth Kehl
1eeceb072e revert newrelic changes and disable gevent 2025-07-29 10:22:36 -07:00
Kenneth Kehl
143d57440c try gevent 2025-07-28 08:52:02 -07:00
Kenneth Kehl
f080c94093 fix eventlet 2025-07-15 08:15:08 -07:00
Kenneth Kehl
42ce627800 fix eventlet sleep 2025-07-10 10:41:21 -07:00
Kenneth Kehl
b5fdc76a4e more tests 2025-07-02 11:56:11 -07:00
Kenneth Kehl
fbe733bc7e check which services have csvs 2025-06-09 07:12:05 -07:00
Kenneth Kehl
3961e72d32 try to replace blocking sleep call with nonblocking sleep call 2025-05-12 11:03:12 -07:00
Kenneth Kehl
91585a8b9e cleanup 2025-01-29 07:50:23 -08:00
Kenneth Kehl
0d874828e4 fix total message limit so it works 2025-01-23 13:28:26 -08:00
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