fix keep-alive

This commit is contained in:
Sebastian Jambor 2023-01-04 19:30:57 +01:00
parent f643515fdd
commit e884c39a03

View file

@ -28,7 +28,7 @@ class Api::V1::ActivityLogController < Api::BaseController
ActivityLogger.register(id, sse)
while true
event = ActivityLogEvent.new('keep-alive')
event = ActivityLogEvent.new('keep-alive', nil, nil)
ActivityLogger.log(id, event)
sleep 10
end