Skip to content

Commit

Permalink
fix: once update http rule value
Browse files Browse the repository at this point in the history
Signed-off-by: 逆流而上 <[email protected]>
  • Loading branch information
DokiDoki1103 committed Feb 19, 2024
1 parent 1d1bf97 commit 5610289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/views/app_config/app_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def post(self, request, *args, **kwargs):
cf_dict["value"] = json.dumps(value)
configuration_repo.add_configuration(**cf_dict)

# 等待1秒去更新参数,不然首次添加的参数无法及时生效
# 等待2秒去更新参数,不然首次添加的参数无法及时生效
wait_thread = threading.Thread(target=self.wait_update, args=(data["http_rule_id"], value))
wait_thread.start()

Expand Down

0 comments on commit 5610289

Please sign in to comment.