Files
one-api/controller
wzxjohn bc7c9105f4 chore: update quota calc logic (close #599) (#627)
* fix: change quota calc code (close #599)

Use float64 during calc and do math.Ceil after calc. This will result in the quota being used slightly more than the official standard, but it will be guaranteed that it will not be less.

* chore: remove blank line

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-11-05 19:15:06 +08:00
..
2023-09-17 11:30:20 +08:00
2023-09-15 00:24:20 +08:00
2023-11-05 17:59:38 +08:00
2023-10-29 22:03:01 +08:00
2023-08-12 16:58:29 +08:00
2023-06-17 18:12:58 +08:00