Ajay
399bda869f
Add more detailed redis error message
2023-02-04 14:07:09 -05:00
Michael C
a613b68c66
add ETag to skipSegments byHash
2023-01-01 02:50:49 -05:00
Ajay
91fc56f59a
Wait for redis to connect before starting server
2022-11-20 01:20:05 -05:00
Ajay
238ccc83d9
Stop writing if response time exceeds value
2022-11-19 23:58:55 -05:00
Ajay
7bdcb10994
Fix redis set limiting
2022-11-19 23:32:09 -05:00
Ajay
1fffd2e6ac
Remove set limitation code
2022-11-13 17:01:32 -05:00
Ajay
d3d53d0758
Allow no max redis connections
2022-11-12 15:35:07 -05:00
Ajay
90e68caaf7
Add active connection limit to setEx as well
2022-11-08 22:09:03 -05:00
Ajay
0ead3892ba
Fix write process time not being used
2022-11-08 00:01:44 -05:00
Ajay
2700b5b530
Add avg read and write for redis and write requests
2022-11-07 23:51:41 -05:00
Ajay
e1a5ca64f0
Add seperate config for stopping write redis connections
2022-11-07 23:04:18 -05:00
Ajay
98f202f6a9
Add max connection check to redis set
2022-11-07 22:51:26 -05:00
Ajay
571230db56
Stop spamming redis if it slows down
2022-10-29 21:03:34 -04:00
Ajay
94eb37cb1c
Count active postgres and redis requests
2022-10-26 01:31:29 -04:00
Ajay
9386f25f9f
Add read only redis ability
2022-10-09 16:10:46 -04:00
Ajay
bd7dfc63ff
Add eslint rules for dealing with promises
2022-09-07 20:01:11 -04:00
Ajay Ramachandran
0ca134dc8f
Merge pull request #500 from mchangrh/fix-tests
...
fix tests
2022-09-07 12:03:05 -04:00
Michael C
d1d7675a8c
test fixes
...
test fixes
- fix timeout in redis (by @ajayyy)
- allow "errors" in tempVIP test
- remove duplicate warning in postSkipSegments
- remove duplicate VIP in tempVIP
- run tests against different user once tempVIP removed
- fix typo in getHashCache fetching
syntax and wording
- use standard syntax in redisTest
- fix spacing in getLockReason
- typo in npm script name
test cases
- add getHashCache test case
- add more tests to redisTest
configuration
- update config to use redis timeout
- update docker-compose to use newest pinned version
Co-Authored-By: Ajay Ramachandran <dev@ajay.app >
2022-09-07 02:16:23 -04:00
Ajay
252e2305f2
Fix undefined redis timeout breaking redis
2022-09-07 01:39:26 -04:00
Ajay
027ff694a0
Make redis timeout configurable
2022-08-25 20:44:16 -04:00
Michael C
5b60243b22
update packages, use native redis typings
2022-07-13 00:29:40 -04:00
Ajay
043c8b771e
Lower redis timeout
2022-05-23 20:15:44 -04:00
Ajay
5f53859c94
Fix docker container
2022-05-04 01:46:41 -04:00
Ajay
5b177a3e53
Prepare dockerfile for use, allow configuring via env vars
2022-05-03 22:08:44 -04:00
Ajay
1df8117105
Fix warnings and errors
2022-04-13 17:43:38 -04:00
Ajay
8dc87da462
Back rate limit by redia and upgrade node-redis
2022-04-13 17:36:07 -04:00
Ajay
b182945274
Clear redis timeouts
2022-03-04 19:22:01 -05:00
Ajay
6507a3a68d
Add timeout to redis calls
2022-03-04 19:19:15 -05:00
Ajay Ramachandran
df3d6fe9c7
Merge pull request #438 from mchangrh/tempVIP
...
channel-specific VIP
2021-12-31 14:02:05 -05:00
Michael C
a1d28fbfe1
add addUserAsTempVIP
2021-12-31 04:26:37 -05:00
Michael C
b9a620fc3b
add redis status/min
2021-12-30 16:47:11 -05:00
Michael C
68bc6469ce
add redis tests
2021-12-19 02:03:50 -05:00
Michael C
a028eaa41a
object-curly-spacing
2021-09-22 18:52:35 -04:00
Michael C
c0b1d201ad
fix non-format eslint in src/
2021-07-12 02:12:22 -04:00
Michael C
d89b26b77d
fix eslint-errors
2021-07-04 01:36:03 -04:00
Ajay Ramachandran
a7605d5699
Don't crash for redis errors
2021-04-21 20:17:46 -04:00
Ajay Ramachandran
01d318d902
Add redis caching for 404s
2021-02-20 21:13:46 -05:00
Ajay Ramachandran
c8d5cec338
Fix redis type issues
2020-12-17 00:25:33 -05:00
Dainius Daukševičius
08d27265fc
migrate to typescript
2020-10-26 19:13:30 +02:00