fix keep-alive
This commit is contained in:
parent
f643515fdd
commit
e884c39a03
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue