Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AiScriptのMk:apiの呼び出し制限を緩和 #7123

Closed
marihachi opened this issue Jan 25, 2021 · 3 comments
Closed

AiScriptのMk:apiの呼び出し制限を緩和 #7123

marihachi opened this issue Jan 25, 2021 · 3 comments
Assignees
Labels
👩‍💻AiScript Issues/PRs related to AiScript ✨Feature This adds/improves/enhances a feature packages/frontend Client side specific issue/PR

Comments

@marihachi
Copy link
Contributor

繰り返しAPI実行するプラグインなどが書けないので、それを緩和したい
どうですかね

@marihachi marihachi added ✨Feature This adds/improves/enhances a feature 👩‍💻AiScript Issues/PRs related to AiScript packages/frontend Client side specific issue/PR labels Jan 25, 2021
@kakkokari-gtyih
Copy link
Contributor

kakkokari-gtyih commented Aug 28, 2023

繰り返し実行じゃなくても、何度か呼び出すうちに上限に達してページ再読み込みをかけないといけないので、個人的にはそうなるとすごくありがたいです

@slofp
Copy link
Contributor

slofp commented Aug 28, 2023

個人的には負荷対策せずにapiを実行してしまうときの対策だと思うので

  1. 1~5秒くらい?のクールタイムを入れる
  2. 通常のレートリミット処理のように実行できる回数が事前にあって、使った分は時間経過で回復する

ような感じが良いなと思いました。(ただ1に関しては時間が経たなければ次が実行できないため使い勝手は悪くなりそうですが...)

@syuilo
Copy link
Member

syuilo commented Aug 30, 2023

AiScriptからリクエストする場合だけ殊更に制限する必要はなさそう

@syuilo syuilo self-assigned this Aug 30, 2023
@marihachi marihachi changed the title AiScriptのMk:apiの制限を回数ではなく時間にしたい AiScriptのMk:apiの呼び出し制限を緩和 Aug 30, 2023
@syuilo syuilo closed this as completed in 724ed47 Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👩‍💻AiScript Issues/PRs related to AiScript ✨Feature This adds/improves/enhances a feature packages/frontend Client side specific issue/PR
Projects
None yet
Development

No branches or pull requests

4 participants