laravel / reverb

Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.
https://reverb.laravel.com
MIT License
942 stars 63 forks source link

set env variables for 'activity_timeout' #217

Closed NVD-R closed 2 weeks ago

NVD-R commented 2 weeks ago

Hi, Can you read 'activity_timeout' from env variables? i need increase this and its force me to 30 sec!

joedixon commented 2 weeks ago

You should be able to pass activityTimeout when initializing Echo.

NVD-R commented 2 weeks ago

Yes, but only for values ​​less than 30 seconds. If you set mor than 30 sec Pusher-js get this value from server so max value can be 30 sec. This cant be hard-code