Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
541e22f
created the framework for the token bucket algo
evanmcneely May 28, 2022
5832d86
added the code to check elapsed time since last query and update toke…
evanmcneely May 28, 2022
abcf30c
trying to configure redis-mock to connect and read/write for the tests
evanmcneely May 28, 2022
c588c8d
refactored tokenBucket a bit
evanmcneely May 28, 2022
1fc467f
fixed ts errors
evanmcneely May 28, 2022
3f1b976
refactored the token bucket algo and tests to use ioredis client inst…
evanmcneely May 28, 2022
52db84f
token bucket is passing all of the tests minus 1 which i dont undrstand
evanmcneely May 29, 2022
4f77bb1
refactored the token bucket
evanmcneely May 29, 2022
f13ef9c
added a comment to tests
evanmcneely May 29, 2022
8e55d04
Merge branch 'dev' into em/tokenBucketAlgo
evanmcneely May 29, 2022
c7827b5
tests worknig with require(ioredis-mock) mut ts-eslint dont like it. …
evanmcneely May 29, 2022
cabdebe
bypassed ellint errors for tests
evanmcneely May 31, 2022
946f616
Merge branch 'em/tokenBucketAlgo' of https://github.com/oslabs-beta/G…
evanmcneely May 31, 2022
6fcefc3
swaped note-redis for ioredis in index.ts
evanmcneely May 31, 2022
e55e2fe
changed hard coded numbers to to the proper variables
evanmcneely Jun 2, 2022
b6a7c0a
Merge branch 'dev' of https://github.com/oslabs-beta/GraphQL-Gate int…
evanmcneely Jun 2, 2022
82bd25b
refactoring middleware tests to use ioredis
evanmcneely Jun 2, 2022
cfbf8b9
refactored redis options in tests to work with ioredis
evanmcneely Jun 2, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading