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

[4.2] LOCK_DSN=semaphore は不要? #5786

Closed
nanasess opened this issue Sep 13, 2022 · 2 comments
Closed

[4.2] LOCK_DSN=semaphore は不要? #5786

nanasess opened this issue Sep 13, 2022 · 2 comments
Milestone

Comments

@nanasess
Copy link
Contributor

概要(Overview)

#5473 に伴い、 .env に LOCK_DSN=semaphore が追加されているが、無くてもログインスロットリングは動作する模様。
ログインスロットリングの制御には var/cache 以下のファイルが使用されており、セマフォは使用されていない模様。
また、 docker-compose.yml の environment には LOCK_DSN=semaphore が設定されていないがログインスロットリングの機能は動作している

期待する内容(Expect) or 要望 (Requirement)

LOCK_DSN=semaphore を削除する

再現手順(Procedure)

環境変数 LOCK_DSN を使用せず、同一IDによるログインを5回以上失敗させる

環境 (environment)

  • EC-CUBE: 4.2.0
  • PHP: 7.4.30
  • DB:
    • PostgreSQL x.x.x
    • MySQL x.x.x

関連情報 (Ref)

#5473

@chihiro-adachi chihiro-adachi added this to the 4.2.0 milestone Sep 14, 2022
@chihiro-adachi
Copy link
Contributor

@nanasess
symfony/rate-limiterをcomposer requireした際に、自動で追加されてました。
設定なしでも動作するのであれば削除しても問題ないかなと思います。

nanasess added a commit to nanasess/ec-cube that referenced this issue Sep 16, 2022
@chihiro-adachi
Copy link
Contributor

#5809 で対応

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants