Commit Graph

1150 Commits

Author SHA1 Message Date
Ajay
517c9512e4 Make default have no max requests 2022-11-12 15:31:21 -05:00
Ajay
ed5e3373a5 Add max active postgres requests 2022-11-12 15:29:55 -05:00
Ajay
6c18579a78 Added back mention of video to lock message 2022-11-12 12:45:35 -05:00
Ajay
e6e8c8e5a1 Added suggestion to refresh for locks 2022-11-12 12:43:16 -05:00
Ajay
50743070de Clarify locked category error 2022-11-12 12:41:00 -05:00
Michael C
7fb68937d0 add innertube tests for private videos 2022-11-09 14:39:02 -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
ee436d982c Fix csv download not being blocked 2022-11-07 16:30:16 -05:00
Ajay
9b509e7289 Disable csv downloads 2022-11-07 16:24:43 -05:00
Ajay
2254e7f869 Fix license validation failing 2022-10-30 17:05:10 -04:00
Ajay
68d9d3cbde Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2022-10-29 21:04:01 -04:00
Ajay
571230db56 Stop spamming redis if it slows down 2022-10-29 21:03:34 -04:00
Michael C
db71af480d clear full video labels 2022-10-28 16:53:04 -04:00
Michael C
80c018c9d5 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into fullVideoLabels 2022-10-28 16:49:50 -04:00
Michael C
cc6c5980a1 videoLabelsHashKey 2022-10-28 16:49:10 -04:00
Ajay Ramachandran
9d7236282c Merge pull request #504 from mchangrh/more-coverage
More test coverage, more tests
2022-10-28 16:45:22 -04:00
Michael C
7f92ac961d clear label cache 2022-10-28 16:42:56 -04:00
Ajay
96db571a5e Fix request rate limit option not working 2022-10-27 20:00:04 -04:00
Ajay
ccd1321d24 Allow disabling redis rate limit 2022-10-27 16:50:35 -04:00
Michael C
622511c8fd Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into more-coverage 2022-10-27 01:38:08 -04:00
Ajay
c2acc6227b Don't kill program if can't connect to read server 2022-10-27 01:31:41 -04:00
Ajay
176f2ce7b9 Kill if db can't connect 2022-10-27 01:30:59 -04:00
Michael C
9286f16e7b add ingores to tokenUtils 2022-10-27 01:19:42 -04:00
Ajay
9e3d059d10 Stop postgres retries when over a threshold 2022-10-26 22:58:35 -04:00
Ajay
13ae4681cb Fix hashing empty value for patreon sign in 2022-10-26 12:56:40 -04:00
Ajay
ee56a8dea4 Last pool fail when timeout 2022-10-26 12:49:39 -04:00
Ajay
94eb37cb1c Count active postgres and redis requests 2022-10-26 01:31:29 -04:00
Ajay
1e2437b993 Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer 2022-10-22 13:32:49 -04:00
Ajay
a6275b3607 Add message about server outage 2022-10-22 13:32:48 -04:00
Brian Choromanski
10397fbde2 Fixed minutesSaved typo 2022-10-21 17:27:34 -04:00
Ajay
b5434ae234 expand chapter free access 2022-10-18 16:50:21 -04:00
Ajay Ramachandran
b52ca8b2a6 Merge pull request #513 from mchangrh/tokenValidation
add additional token validation
2022-10-13 09:53:29 -04:00
Michael C
e799821ad9 add additional token validation 2022-10-13 00:59:34 -04:00
Ajay
415bb31e36 Revert "Add concurrent request limit" 2022-10-11 11:59:53 -04:00
Ajay Ramachandran
eb3d733a34 Merge pull request #510 from mini-bomba/misc-fixes
Some fixes for voteOnSponsorTime.ts
2022-10-11 00:10:41 -04:00
Ajay
9386f25f9f Add read only redis ability 2022-10-09 16:10:46 -04:00
mini-bomba
ceaf9ec6f6 Fix linter warning 2022-10-08 09:09:19 +02:00
mini-bomba
d229003f6e Unlock the video on duration change detected when voting 2022-10-08 09:08:40 +02:00
mini-bomba
1becebdcd5 Actually pass the ignoreCache param, as the comment suggests 2022-10-08 09:04:37 +02:00
Ajay
b417241ca0 make permission reason not optional 2022-10-07 12:05:11 -04:00
Ajay
ee3d94e7b7 Add clearer chapter permission error 2022-10-07 12:04:44 -04:00
Ajay
b6da103c3d switch to just lower vote min 2022-10-05 23:15:01 -04:00
Ajay
52a7d7e791 allow locked to be in top list and chapter 2022-10-05 23:08:16 -04:00
Ajay
b63572ec43 Add chapter to top users 2022-10-05 22:00:12 -04:00
Ajay Ramachandran
66d5622393 Merge pull request #508 from mini-bomba/searchsegments-description
Make /searchSegments return the segment description
2022-10-01 09:53:29 -04:00
mini-bomba
c4af2449c3 Use different startTime variables for each processTime check
This should make `processTime` and `redisProcessTime` values from /api/status more accurate
2022-10-01 15:50:47 +02:00