Commit Graph
3012 Commits
Author SHA1 Message Date
Brandon Thomas ff22319c77 purge session cache with billing endpoints 2023-03-12 05:17:37 -04:00
Brandon Thomas 16f2d5557b clear session cache when user is edited 2023-03-12 04:49:59 -04:00
Brandon Thomas e5cdb84c52 correct cache key 2023-03-12 04:34:50 -04:00
Brandon Thomas 8079be9f7e progress with generics 2023-03-12 04:25:44 -04:00
Brandon Thomas 2821240cc0 generic over executor types 2023-03-12 04:12:22 -04:00
Brandon Thomas ae0522419a this *should* work - need to work on non-pooled version 2023-03-12 03:11:33 -04:00
Brandon Thomas 46bb4274ca work in progress session caching (redis) 2023-03-12 03:00:47 -04:00
Brandon Thomas f2b6dc4349 Merge pull request #39 from storytold/bt-redis-cache-endpoint
Bt redis cache endpoint
2023-03-12 01:25:31 -05:00
Brandon Thomas a395c04265 Delete cache when tts model is edited 2023-03-12 01:24:23 -05:00
Brandon Thomas d3a4613cc9 cleanup closures, fail open to db 2023-03-12 00:04:25 -05:00
Brandon Thomas bdca25cf4f cache works! 2023-03-11 23:58:14 -05:00
Brandon Thomas 06a053b6d9 this compiles too 2023-03-11 23:43:39 -05:00
Brandon Thomas 4104ef0129 this compiles too 2023-03-11 23:33:29 -05:00
Brandon Thomas 0f076cbacd work in progress redis caching (this compiles) 2023-03-11 23:21:39 -05:00
Brandon Thomas 817b2c01df new redis ttl cache crate (untested) 2023-03-11 22:53:01 -05:00
Brandon Thomas c06c47f02e Merge pull request #38 from storytold/bt-fix
Bt fix
2023-03-11 21:57:42 -05:00
Brandon Thomas 23b0dafd6b fix compile errors 2023-03-11 21:57:13 -05:00
Brandon Thomas 91e83c8b90 notes 2023-03-11 21:57:13 -05:00
Brandon Thomas 4a32ced9cd Merge pull request #37 from storytold/cache-profiles-redis
cache user profiles with redis
2023-03-11 06:42:15 -05:00
Brandon Thomas 75014a673a cache user profiles with redis 2023-03-11 06:41:51 -05:00
Brandon Thomas 52afa5462d Merge pull request #36 from storytold/block-ips
block more IPs
2023-03-11 05:15:40 -05:00
Brandon Thomas a826d54311 block more IPs 2023-03-11 05:15:09 -05:00
Brandon Thomas 4f38e4b20a codegen 2023-03-11 03:44:54 -05:00
Brandon Thomas 6880efd2f0 Merge pull request #35 from storytold/bt-edit-mfactor
edit tts model m-factor (mods only)
2023-03-11 03:42:27 -05:00
Brandon Thomas e372a4b5ec edit tts model m-factor (mods only) 2023-03-11 03:41:59 -05:00
Brandon Thomas f978f1b055 Merge pull request #34 from storytold/bt-inference-test-jobs
test requests bypass the model cache
2023-03-11 02:36:11 -05:00
Brandon Thomas ee69e72661 test requests bypass the model cache 2023-03-11 02:35:50 -05:00
Brandon Thomas 6295fd9569 update queries codegen 2023-03-11 02:09:03 -05:00
Brandon Thomas 53d9d55036 re-build all the things 2023-03-11 01:13:39 -05:00
Brandon Thomas 7e236f1e81 tts job now conveys mel multiplier 2023-03-11 01:12:35 -05:00
Brandon Thomas 6b7370ee64 migrations for mel multiply factor 2023-03-10 23:49:52 -05:00
Brandon Thomas 406d2eb7af rename paths 2023-03-10 05:54:56 -05:00
Brandon Thomas 1cfb3663e9 endpoint disablement filter allows adjustment of online endpoints 2023-03-10 05:50:00 -05:00
Brandon Thomas aa24f781fb remove old ip banlist filter 2023-03-10 04:33:22 -05:00
Brandon Thomas 3a2dad2027 more cleanup, organization, refactor 2023-03-10 03:08:29 -05:00
Brandon Thomas 814c04cdac more cleanup 2023-03-10 02:59:54 -05:00
Brandon Thomas c45a6da8a5 rid database_queries of container_common::anyhow_result 2023-03-10 02:55:57 -05:00
Brandon Thomas a5b2028588 begin removing container_common stuff 2023-03-10 02:53:48 -05:00
Brandon Thomas 4a743bace1 New static IP filter + docker config includes 2023-03-10 02:45:36 -05:00
Brandon Thomas 5ef5d6832b IP lists of attackers to ban 2023-03-10 02:28:35 -05:00
Brandon Thomas 0ebb1e398b Directory to contain IP bans 2023-03-10 02:21:48 -05:00
Brandon Thomas 4be572c36b refactor / organize top level directories 2023-03-10 02:13:16 -05:00
Brandon Thomas 97bea31b1d load an entire directory of bans 2023-03-10 01:49:11 -05:00
Brandon Thomas f3dd785331 load ip sets from file 2023-03-10 01:34:57 -05:00
Brandon Thomas 0d99c2fc08 new ip address filter middleware (wip) 2023-03-10 01:12:37 -05:00
Brandon Thomas edba26a2db cache leaderboard 2023-03-09 18:29:15 -05:00
Brandon Thomas 89a9448c9a new caching logic for get pending tts counts 2023-03-09 18:16:02 -05:00
Brandon Thomas d557c78123 new LRU cache to bypass expiry 2023-03-09 18:06:21 -05:00
Brandon Thomas 9ac7f33008 feature flag to control frontend tts queue refresh rate 2023-03-09 10:47:59 -05:00
Brandon Thomas 716e7923ff Add IP addresses that attacked us 2023-03-09 02:19:51 -05:00