We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e97e66c commit c35458fCopy full SHA for c35458f
app/Events/TaskUpdated.php
@@ -10,7 +10,10 @@ class TaskUpdated extends AbstractTaskEvent
10
public function broadcastWith(): array
11
{
12
return Arr::except((new TaskResource($this->task))->jsonSerialize(), [
13
- 'attributes.public_log', // Could be too big for Pusher
+ // This broadcast is only to update the state of a task
14
+ // We'll skip all data that could make the payload too large for Pusher
15
+ 'attributes.data',
16
+ 'attributes.public_log',
17
'attributes.private_log',
18
]);
19
}
0 commit comments