How to use laravel throttle in second instead of in minute? I want to use this for chat app, and i think limiting it to second will be better.
and i tried to overwrite the laravel middleWareGroup throttle with this
Route::get("/v0/chat/get/{room}","chatController@chat_get")->middleware('throttle:120,1');
but the ->middleware() overwrite failed. Thanks
You must see ThrottlesLogin.php, at lockoutTime method to understand about lockoutTime.
If you want to custom lockoutTime, init it in your controller $lockoutTime = ???