ckt1031
c52f5ad997
fix: caching
2023-10-02 14:54:03 +08:00
ckt1031
d499f790ef
Merge remote-tracking branch 'upstream/main'
2023-09-30 22:56:30 +08:00
JustSong
f9b748c2ca
chore: add MEMORY_CACHE_ENABLED env variable
2023-09-29 11:38:27 +08:00
ckt1031
6d2d0c8557
Merge remote-tracking branch 'upstream/main'
2023-09-20 23:28:55 +08:00
JustSong
a5647b1ea7
fix: fix priority not updated & random choice not working
2023-09-18 21:43:45 +08:00
ckt1031
d956ee5a6b
Merge remote-tracking branch 'upstream/main'
2023-09-17 22:36:25 +08:00
Xyfacai
ecf8a6d875
feat: supprt channel priority now & record channel id in log ( #484 )
...
* feat: 支持设置渠道优先级 & 日志中显示使用的渠道ID
* fix: 设置渠道优先级未更新 ability
* chore: update implementation
---------
Co-authored-by: Xiangyuan Liu <xiangyuan.liu@ui.com>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2023-09-17 19:18:16 +08:00
ckt1031
cd3d1b9f1b
Merge remote-tracking branch 'upstream/main'
2023-09-04 14:57:40 +08:00
JustSong
621eb91b46
chore: pass through error out
2023-09-03 21:31:58 +08:00
JustSong
9db93b9d43
fix: update cache immediately after cache get
...
Co-authored-by: chikasaki <1347283135@qq.com>
Co-authored-by: Cruel <157922018@qq.com>
2023-08-19 13:33:38 +08:00
JustSong
86c2627c24
fix: update cache immediately after cache get
...
Co-authored-by: chikasaki <1347283135@qq.com>
Co-authored-by: Cruel <157922018@qq.com>
2023-08-16 23:40:50 +08:00
ckt1031
18655fed08
Merge branch 'support-postgres-sql' into refactor-main
2023-07-27 14:51:23 +08:00
ckt1031
bba49c959e
feat: support postgres
2023-07-27 14:47:45 +08:00
ckt1031
c7c3b9d326
fix: backstick for postgres
2023-07-27 11:07:08 +08:00
ckt1031
30187cebe8
fix: use int instead of bool
2023-07-24 18:12:16 +08:00
ckt1031
a588241515
feat: allow toggling stream mode of channels
2023-07-24 15:30:08 +08:00
JustSong
4eea096654
chore: do not hardcode cache time ( close #302 )
2023-07-23 19:26:37 +08:00
JustSong
737672fb0b
fix: update cached user quota after post-consuming ( close #204 )
2023-06-27 19:22:58 +08:00
mrhaoji
f0dc7f3f06
fix: InitChannelCache does not filter disabled channels ( #201 )
...
* chore: Show the HTTP status code in the test_time script to determine the success or failure of the request.
* fix: InitChannelCache does not filter disabled channels
* chore: do not hardcode
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-06-25 23:14:15 +08:00
JustSong
00151a0124
chore: format logs
2023-06-22 10:59:01 +08:00
JustSong
6d961064d2
feat: do not access database before response return ( close #158 )
2023-06-21 17:26:26 +08:00
JustSong
ba54c71948
feat: select channel without database ( #158 )
2023-06-21 17:04:18 +08:00
JustSong
14b85318a6
fix: fix crash when Redis is enabled
2023-06-20 20:56:35 +08:00
JustSong
b179c2f208
feat: able to display quota in dollar
2023-06-20 20:09:17 +08:00
JustSong
3d76a974d1
feat: use cache to avoid database access ( #158 )
2023-06-20 19:09:49 +08:00