- 65gb of storage
- server equivalent of AWS EC2 t3.xlarge
- Follow the "Install" instructions at https://linuxgsm.com/servers/cs2server/
I hereby claim:
To claim this, I am signing this object:
| class NotificationsController < ApplicationController | |
| def notify_me | |
| # Rails reserve a db connection from connection pool for each request, lets put it back into connection pool. | |
| ActiveRecord::Base.clear_active_connections! | |
| # required header | |
| response.headers['Content-Type'] = 'text/event-stream' | |
| sse = ActionController::Live::SSE.new(response.stream) |