fix keep-alive

This commit is contained in:
Sebastian Jambor 2023-01-04 19:30:57 +01:00
parent 7222173cc6
commit b0a0f57e82

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