browsertrix/backend
Ilya Kreymer 2e73148bea
fix redis connection leaks + exclusions error: (fixes #1065) (#1066)
* fix redis connection leaks + exclusions error: (fixes #1065)
- use contextmanager for accessing redis to ensure redis.close() is always called
- add get_redis_client() to k8sapi to ensure unified place to get redis client
- use connectionpool.from_url() until redis 5.0.0 is released to ensure auto close and single client settings are applied
- also: catch invalid regex passed to re.compile() in queue regex check, return 400 instead of 500 for invalid regex
- redis requirements: bump to 5.0.0rc2
2023-08-14 18:29:28 -07:00
..
btrixcloud fix redis connection leaks + exclusions error: (fixes #1065) (#1066) 2023-08-14 18:29:28 -07:00
test Standardize archived item filtering, sorting and labels (#1054) 2023-08-09 12:13:55 -07:00
test_nightly Backend: standardize search values, filters, and sorting for archived items (#1039) 2023-08-04 09:56:52 -07:00
.pylintrc quickfix: pydantic / lint fix (#452) 2023-01-10 18:54:11 -08:00
Dockerfile Remove Code and Configs for Swarm/podman support (#407) 2022-12-08 18:19:58 -08:00
requirements.txt fix redis connection leaks + exclusions error: (fixes #1065) (#1066) 2023-08-14 18:29:28 -07:00