Skip to content

Conversation

@bytestream
Copy link
Contributor

Session blocking can be enabled globally using the session.block config directive. At the moment, the lockSeconds and waitSeconds are hard coded to 10 seconds. This PR adds two new config directives enabling a developer to increase/decrease those hard coded values.

@taylorotwell
Copy link
Member

You can define it on the route / route group.

@bytestream
Copy link
Contributor Author

@taylorotwell I believe it can only be defined on individual routes via the block() method. I do not believe it is possible to define it on a route group - please could you show sample code?

@decadence
Copy link
Contributor

block is not working on Route groups, I checked this too

@taylorotwell taylorotwell merged commit 31e81e1 into laravel:10.x Oct 26, 2023
@bytestream bytestream deleted the 10.x-session-blocking branch October 26, 2023 19:07
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

Successfully merging this pull request may close these issues.

3 participants