Commit Graph

24 Commits

Author SHA1 Message Date
Xyfacai
7633ef1ea9 optimize: high cpu 2023-11-23 21:40:17 +08:00
CaIon
580dfd9485 添加pprof性能分析 2023-11-21 18:11:07 +08:00
CaIon
ba7e6324d3 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	README.md
#	go.mod
#	go.sum
#	model/log.go
#	web/src/App.js
#	web/src/components/ChannelsTable.js
2023-10-16 17:31:26 +08:00
JustSong
51db57677e chore: add MEMORY_CACHE_ENABLED env variable 2023-09-29 11:38:27 +08:00
CaIon
23d9554415 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/log.go
#	controller/relay-audio.go
#	controller/relay-image.go
#	controller/relay-text.go
#	controller/relay.go
#	middleware/distributor.go
#	model/log.go
#	web/src/components/OperationSetting.js
2023-09-17 20:59:12 +08:00
JustSong
3f9e723ce5 feat: create new log file when too many logs recorded 2023-09-17 16:35:30 +08:00
JustSong
315d7e8692 refactor: update logging related logic 2023-09-17 15:39:46 +08:00
JustSong
437b35e161 fix: only enable cors for relay routers to avoid csrf attack 2023-09-17 11:44:38 +08:00
CaIon
c0636950c0 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/relay.go
#	main.go
#	middleware/distributor.go
2023-09-09 03:15:55 +08:00
JustSong
cf0ae05d50 feat: add batch update support (close #414) 2023-09-03 14:58:20 +08:00
JustSong
574be5bd1d perf: initialize all token encoder when starting (close #459, close $460) 2023-08-26 13:02:02 +08:00
CaIon
e60239c93d Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/relay-text.go
#	go.mod
#	web/src/components/PersonalSetting.js
#	web/src/components/TokensTable.js
#	web/src/pages/Home/index.js
2023-08-25 00:51:02 +08:00
CaIon
68b24da6a6 add epay 2023-08-14 22:16:32 +08:00
JustSong
2586fe09eb perf: flush response after response handled (close #364) 2023-08-12 18:10:15 +08:00
JustSong
819056a8af chore: do not hardcode cache time (close #302) 2023-07-23 19:26:37 +08:00
JustSong
b456624a35 refactor: do not use redis to store session 2023-06-26 16:10:59 +08:00
JustSong
6bea2724e4 feat: support automatic channel testing & balance updates (close #11, close #59) 2023-06-22 22:01:03 +08:00
JustSong
b7a89340e1 chore: format logs 2023-06-22 10:59:01 +08:00
JustSong
b220e8e863 feat: use cache to avoid database access (#158) 2023-06-20 19:09:49 +08:00
JustSong
44b9d7a134 feat: now slave server can sync options with master server (close #88) 2023-05-18 12:48:20 +08:00
JustSong
541b9f2ed6 fix: fully support stream mode now (close #3) 2023-04-25 21:50:57 +08:00
JustSong
fcb6204a69 Update system log 2023-04-22 22:15:48 +08:00
JustSong
483bd64d8f Rename to One API 2023-04-22 21:14:09 +08:00
JustSong
4cbef0780e Initial commit 2023-04-22 20:39:27 +08:00