fix: 多处对 launcher_type 枚举的不当比较 (#736)

This commit is contained in:
RockChinQ
2024-03-23 22:39:42 +08:00
parent 7b060ce3f9
commit 835275b47f
3 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ class RateLimit(stage.PipelineStage):
)
elif stage_inst_name == "ReleaseRateLimitOccupancy":
await self.algo.release_access(
query.launcher_type,
query.launcher_type.value,
query.launcher_id,
)
return entities.StageProcessResult(